Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for 10123 (0.08 sec)

  1. guava-tests/test/com/google/common/collect/RangeTest.java

        // separate above
        expected =
            assertThrows(
                IllegalArgumentException.class, () -> range.intersection(Range.closed(10, 12)));
        assertThat(expected).hasMessageThat().contains("connected");
      }
    
      public void testGap_overlapping() {
        Range<Integer> range = Range.closedOpen(3, 5);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
        HashTestUtils.assertInvariants(Hashing.goodFastHash(256));
      }
    
      public void testConsistentHash_correctness() {
        long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE};
        for (long h : interestingValues) {
          checkConsistentHashCorrectness(h);
        }
        Random r = new Random(7);
        for (int i = 0; i < 20; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            // Use reflection to call protected readString method
            Method readStringMethod = getReadStringMethod();
            String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false);
    
            assertEquals(testString, result);
        }
    
        @Test
        @DisplayName("Test readString with null terminator in middle")
        void testReadStringWithNullTerminator() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          }
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
      public void testIsPowerOfTwoYes() {
        for (int i = -1074; i <= 1023; i++) {
          assertTrue(DoubleMath.isPowerOfTwo(StrictMath.pow(2.0, i)));
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

            .build()
        assertThat(url.toString())
          .isEqualTo(
            "http://a%3A%01%40%2F%5C%3F%23%25b:c%3A%01%40%2F%5C%3F%23%25d@ef:8080/" +
              "g:%01@%2F%5C%3F%23%25h?i:%01@/\\?%23%25j#k:%01@/\\?#%25l",
          )
        assertThat(url.scheme).isEqualTo("http")
        assertThat(url.username).isEqualTo("a:\u0001@/\\?#%b")
        assertThat(url.password).isEqualTo("c:\u0001@/\\?#%d")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("Should handle various result codes correctly")
            void testVariousResultCodes() throws Exception {
                // Test all known result codes
                int[] validCodes = { 0, 1, 2, 3 };
                String[] expectedMessages = { null, // 0 returns null (no exception)
                        "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertFalse(range.isSelectedVersionKnown(artifact), CHECK_SELECTED_VERSION_KNOWN);
            assertNull(range.getSelectedVersion(artifact), CHECK_SELECTED_VERSION);
    
            range = VersionRange.createFromVersionSpec("(,1.0],[1.2,)");
            restrictions = range.getRestrictions();
            assertEquals(2, restrictions.size(), CHECK_NUM_RESTRICTIONS);
            restriction = restrictions.get(0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.22.md

    - Omit comparison with boolean constant ([#101523](https://github.com/kubernetes/kubernetes/pull/101523), [@chuntaochen](https://github.com/chuntaochen)) [SIG CLI and Cloud Provider]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
        HashTestUtils.assertInvariants(Hashing.goodFastHash(256));
      }
    
      public void testConsistentHash_correctness() {
        long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE};
        for (long h : interestingValues) {
          checkConsistentHashCorrectness(h);
        }
        Random r = new Random(7);
        for (int i = 0; i < 20; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.guid = largeGuid;
    
            assertEquals(1024, serverData.guid.length);
            assertEquals((byte) 0xCA, serverData.guid[0]);
            assertEquals((byte) 0xCA, serverData.guid[1023]);
        }
    
        /**
         * Test that ServerData can be used in collections
         */
        @Test
        @DisplayName("Test ServerData can be used in collections")
        public void testUseInCollections() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top