Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for C2 (0.07 sec)

  1. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          while (i + 4 <= utf16Length) {
            char c0 = input.charAt(i);
            char c1 = input.charAt(i + 1);
            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
            if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) {
              int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24);
              k1 = mixK1(k1);
              h1 = mixH1(h1, k1);
              i += 4;
              len += 4;
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

        TestCloseable c1 = closer.register(TestCloseable.normal());
        TestCloseable c2 = closer.register(TestCloseable.normal());
        TestCloseable c3 = closer.register(TestCloseable.normal());
    
        assertFalse(c1.isClosed());
        assertFalse(c2.isClosed());
        assertFalse(c3.isClosed());
    
        closer.close();
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertTrue(c3.isClosed());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CloserTest.java

        TestCloseable c1 = closer.register(TestCloseable.normal());
        TestCloseable c2 = closer.register(TestCloseable.normal());
        TestCloseable c3 = closer.register(TestCloseable.normal());
    
        assertFalse(c1.isClosed());
        assertFalse(c2.isClosed());
        assertFalse(c3.isClosed());
    
        closer.close();
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertTrue(c3.isClosed());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Running at time 150, the pool evicts c2.
        assertThat(pool.closeConnections(150L)).isEqualTo(0L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
        assertThat(c2.socket().isClosed).isTrue()
    
        // Running at time 150, the pool returns that nothing can be evicted until time 175.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          while (i + 4 <= utf16Length) {
            char c0 = input.charAt(i);
            char c1 = input.charAt(i + 1);
            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
            if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) {
              int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24);
              k1 = mixK1(k1);
              h1 = mixH1(h1, k1);
              i += 4;
              len += 4;
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

          .isEqualTo(URI("http://host/a%C2%80b"))
        assertThat("http://host/a\u009fb".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/a%C2%9Fb"))
        // Percent-encoded in the query.
        assertThat("http://host/?a\u0000b".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/?a%00b"))
        assertThat("http://host/?a\u0080b".toHttpUrl().toUri())
          .isEqualTo(URI("http://host/?a%C2%80b"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTest.java

        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

             assertFalse(synonymItem2.isUpdated());
    
             final SynonymItem synonymItem3 = itemList2.get(2);
             synonymItem3.setNewInputs(new String[] { "c1", "c2" });
             synonymItem3.setNewOutputs(new String[] { "c1", "c2" });
             synonymFile.update(synonymItem3);
             final PagingList<SynonymItem> itemList3 = synonymFile.selectList(0, 20);
             assertEquals(5, itemList3.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
        // Might be nice (eventually) to have:
        //     assertEquals(c1, c2);
    
        // But for now, settle for this:
        assertEquals(c1.hashCode(), c2.hashCode());
    
        assertEquals(c1.apply(1.0f), c2.apply(1.0f));
        assertEquals(c1.apply(5.0f), c2.apply(5.0f));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          k ^= k >>> 33;
          return k;
        }
    
        private static long mixK1(long k1) {
          k1 *= C1;
          k1 = Long.rotateLeft(k1, 31);
          k1 *= C2;
          return k1;
        }
    
        private static long mixK2(long k2) {
          k2 *= C2;
          k2 = Long.rotateLeft(k2, 33);
          k2 *= C1;
          return k2;
        }
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top