- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 61 for canonical (0.09 seconds)
-
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 GcFinalization.awaitClear(signal);
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) -
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 GcFinalization.awaitClear(signal);
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) -
guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(Range.closedOpen(Integer.MIN_VALUE, 0), Range.lessThan(0).canonical(integers())); assertEquals(Range.closedOpen(Integer.MIN_VALUE, 1), Range.atMost(0).canonical(integers())); assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(integers())); assertEquals(Range.atLeast(1), Range.greaterThan(0).canonical(integers()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(Range.closedOpen(Integer.MIN_VALUE, 0), Range.lessThan(0).canonical(integers())); assertEquals(Range.closedOpen(Integer.MIN_VALUE, 1), Range.atMost(0).canonical(integers())); assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(integers())); assertEquals(Range.atLeast(1), Range.greaterThan(0).canonical(integers()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Interners.java
public E intern(E sample) { while (true) { // trying to read the canonical... @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :( InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interners.java
public E intern(E sample) { while (true) { // trying to read the canonical... @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :( InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
} else { this.host = remaining.substring(0, slashIndex); this.path = remaining.substring(slashIndex); } // canonical form: remove . and .. but nothing fancy this.canonical = urlStr.replace("..", "").replace(".", ""); } @Override public String getName() { if (path == null || path.isEmpty() || path.equals("/")) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
docs/zh-hant/llm-prompt.md
2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK. 3) If a generic title is present, prefer these canonical titles: - `/// note | 注意` Notes: - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`. - Example canonical titles used in existing docs: ``` /// details | 上述指令的含義 ``` ``` /// details | 關於 `requirements.txt`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Dec 29 18:54:20 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/ko/llm-prompt.md
2) If a title is present, prefer these canonical titles: - `/// note | 참고` - `/// tip | 팁` - `/// warning | 경고` - `/// info | 정보` - `/// danger | 위험` - `/// note Technical Details | 기술 세부사항` - `/// check | 확인` Notes: - `details` blocks exist in Korean docs; keep `/// details` as-is and translate only the title after `|`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 24 21:17:54 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/uk/llm-prompt.md
- string: строка - tag: мітка - wildcard: дика карта ### `///` admonitions - Keep the admonition keyword in English (do not translate `note`, `tip`, etc.). - If a title is present, prefer these canonical titles (choose one canonical form where variants exist): - `/// note | Примітка` - `/// note | Технічні деталі` - `/// tip | Порада` - `/// warning | Попередження` - `/// info | Інформація` - `/// danger | Обережно`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 16:47:51 GMT 2026 - 4K bytes - Click Count (0)