- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for MyInt (0.02 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) -
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)