Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 119 for 1020 (0.1 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(10, 20);
        assertThat(cache.getIfPresent(10)).isEqualTo(20);
    
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
      }
    
      @Test
      public void expireAfterWriteAndAccess() {
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(1000, MILLISECONDS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(10, 20);
        assertThat(cache.getIfPresent(10)).isEqualTo(20);
    
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
      }
    
      @Test
      public void expireAfterWriteAndAccess() {
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(1000, MILLISECONDS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree);
        assertEquals(tree, copyFromTree);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree);
        assertEquals(tree, copyFromTree);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

                  public void realRun() {
                    while (!at.compareAndSet(2.0, 3.0)) {
                      Thread.yield();
                    }
                  }
                });
    
        assertTrue(at.compareAndSet(1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, at.get());
      }
    
      /** repeated weakCompareAndSet succeeds in changing value when equal to expected */
      public void testWeakCompareAndSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

                  public void realRun() {
                    while (!at.compareAndSet(2.0, 3.0)) {
                      Thread.yield();
                    }
                  }
                });
    
        assertTrue(at.compareAndSet(1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, at.get());
      }
    
      /** repeated weakCompareAndSet succeeds in changing value when equal to expected */
      public void testWeakCompareAndSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64.s

    	CADDW	$31, X5					// fd22
    	CADDIW	$-32, X5				// 8132
    	CADDIW	$31, X5					// fd22
    	CADDI16SP $-512, SP				// 0171
    	CADDI16SP $496, SP				// 7d61
    	CADDI4SPN $4, SP, X10				// 4800
    	CADDI4SPN $1020, SP, X10			// e81f
    	CSLLI	$63, X5					// fe12
    	CSRLI	$63, X10				// 7d91
    	CSRAI	$63, X10				// 7d95
    	CAND	$-32, X10				// 0199
    	CAND	$31, X10				// 7d89
    	CANDI	$-32, X10				// 0199
    	CANDI	$31, X10				// 7d89
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Apr 04 05:25:40 GMT 2026
    - 74.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

        }
    
        @Test
        public void test_smartSummary_headTailRatio() {
            // Use 1000-char content with summaryMaxChars=500, no sources
            // omitMarker="\n...[omitted]...\n" (17 chars), suffix="", bodyBudget=500-0-17=483
            // headChars = (int)(483 * 0.6) = 289, tailChars = 483 - 289 = 194
            final String content = "A".repeat(1000);
            final ChatMessage msg = ChatMessage.assistantMessage(content);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
Back to Top