- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for MyInt (0.28 seconds)
-
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_afterGC() throws InterruptedException { MyInt canonical = new MyInt(5); MyInt not = new MyInt(5); Interner<MyInt> pool = Interners.newWeakInterner(); assertThat(pool.intern(canonical)).isSameInstanceAs(canonical); WeakReference<MyInt> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_afterGC() throws InterruptedException { MyInt canonical = new MyInt(5); MyInt not = new MyInt(5); Interner<MyInt> pool = Interners.newWeakInterner(); assertThat(pool.intern(canonical)).isSameInstanceAs(canonical); WeakReference<MyInt> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p1/golden.txt
pkg p1, const AIsLowerA ideal-int pkg p1, const B0 = 2 pkg p1, const B0 ideal-int pkg p1, const ConstChase2 = 11 pkg p1, const ConstChase2 ideal-int pkg p1, const ConversionConst = 5 pkg p1, const ConversionConst MyInt pkg p1, const FloatConst = 1.5 // 3/2 pkg p1, const FloatConst ideal-float pkg p1, const StrConst = "foo" pkg p1, const StrConst ideal-string pkg p1, func Bar(int8, int16, int64)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 3.6K bytes - Click Count (0) -
doc/go_spec.html
must be itself, and <code>T</code> cannot be an interface. </p> <pre> type MyInt int interface { ~[]byte // the underlying type of []byte is itself ~MyInt // illegal: the underlying type of MyInt is not MyInt ~error // illegal: error is an interface } </pre> <p> Union elements denote unions of type sets: </p> <pre>
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1)