Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: third_party/go/src/golang.org/x/mobile/bind/testdata/structs.java.golden

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/go/src/golang.org/x/mobile/bind/testdata/structs.java.golden
diff --git a/third_party/go/src/golang.org/x/mobile/bind/testdata/structs.java.golden b/third_party/go/src/golang.org/x/mobile/bind/testdata/structs.java.golden
deleted file mode 100644
index ced08fec88c351f28f4082ae19f3051ef3bb54e6..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/bind/testdata/structs.java.golden
+++ /dev/null
@@ -1,104 +0,0 @@
-// Java Package structs is a proxy for talking to a Go program.
-// gobind -lang=java structs
-//
-// File is generated by gobind. Do not edit.
-package go.structs;
-
-import go.Seq;
-
-public abstract class Structs {
- private Structs() {} // uninstantiable
-
- public static final class S implements go.Seq.Object {
- private static final String DESCRIPTOR = "go.structs.S";
- private static final int FIELD_X_GET = 0x00f;
- private static final int FIELD_X_SET = 0x01f;
- private static final int FIELD_Y_GET = 0x10f;
- private static final int FIELD_Y_SET = 0x11f;
- private static final int CALL_Sum = 0x00c;
-
- private go.Seq.Ref ref;
-
- private S(go.Seq.Ref ref) { this.ref = ref; }
-
- public go.Seq.Ref ref() { return ref; }
-
- public void call(int code, go.Seq in, go.Seq out) {
- throw new RuntimeException("internal error: cycle: cannot call concrete proxy");
- }
-
- public double getX() {
- Seq in = new Seq();
- Seq out = new Seq();
- in.writeRef(ref);
- Seq.send(DESCRIPTOR, FIELD_X_GET, in, out);
- return out.readFloat64();
- }
-
- public void setX(double v) {
- Seq in = new Seq();
- Seq out = new Seq();
- in.writeRef(ref);
- in.writeFloat64(v);
- Seq.send(DESCRIPTOR, FIELD_X_SET, in, out);
- }
- public double getY() {
- Seq in = new Seq();
- Seq out = new Seq();
- in.writeRef(ref);
- Seq.send(DESCRIPTOR, FIELD_Y_GET, in, out);
- return out.readFloat64();
- }
-
- public void setY(double v) {
- Seq in = new Seq();
- Seq out = new Seq();
- in.writeRef(ref);
- in.writeFloat64(v);
- Seq.send(DESCRIPTOR, FIELD_Y_SET, in, out);
- }
-
- public double Sum() {
- go.Seq _in = new go.Seq();
- go.Seq _out = new go.Seq();
- double _result;
- _in.writeRef(ref);
- Seq.send(DESCRIPTOR, CALL_Sum, _in, _out);
- _result = _out.readFloat64();
- return _result;
- }
-
- @Override public boolean equals(Object o) {
- if (o == null || !(o instanceof S)) {
- return false;
- }
- S that = (S)o;
- double thisX = getX();
- double thatX = that.getX();
- if (thisX != thatX) {
- return false;
- }
- double thisY = getY();
- double thatY = that.getY();
- if (thisY != thatY) {
- return false;
- }
- return true;
- }
-
- @Override public int hashCode() {
- return java.util.Arrays.hashCode(new Object[] {getX(), getY()});
- }
-
- @Override public String toString() {
- StringBuilder b = new StringBuilder();
- b.append("S").append("{");
- b.append("X:").append(getX()).append(",");
- b.append("Y:").append(getY()).append(",");
- return b.append("}").toString();
- }
-
- }
-
- private static final String DESCRIPTOR = "structs";
-}

Powered by Google App Engine
This is Rietveld 408576698