Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,573 for docstring (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            assertNull(ex.getCause());
    
            // Assert - toString starts with class name and contains message when present
            if (message == null) {
                assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
            } else if (message.isEmpty()) {
                // Throwable.toString prints class + ": " (with space) even for empty string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          return delegate.getId();
        }
    
        @Override
        public String toString() {
          return delegate.toString();
        }
      }
    
      private interface Equals {
        @Override
        boolean equals(@Nullable Object obj);
    
        @Override
        int hashCode();
    
        @Override
        String toString();
      }
    
      private static class NoDelegateToEquals implements Equals {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DfsReferralTest.java

            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that toString() returns the expected string from the mock data object
            assertEquals(expectedToString, dfsReferral.toString(),
                    "toString() should return the result of the wrapped DfsReferralData's toString() method.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

            .build()
        assertThat(url.toString()).isEqualTo("http://host/#=[]:;\"~|?#@^/$%25*")
        assertThat(url.toUri().toString())
          .isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*")
      }
    
      @Test
      fun toUriSpecialQueryCharacters() {
        val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl()
        val uri = httpUrl.toUri()
        assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hash2 = HashCode.fromString(hash1.toString());
        assertEquals(hash1, hash2);
      }
    
      public void testRoundTrip() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          String string = HashCode.fromBytes(expected.bytes).toString();
          assertEquals(expected.toString, string);
          assertEquals(
              expected.toString,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString());
        assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString());
        assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString());
      }
    
      public void testKnownInputs_mixedAlgorithms() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    if (queryBuilder instanceof final TermsQueryBuilder termsQueryBuilder) {
                        termsQueryBuilder.values().stream().forEach(o -> deletedDocIdList.add(o.toString()));
                    }
                    return deletedDocIdList.size();
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

            .host("[::1]")
            .build()
            .toString(),
        ).isEqualTo("http://[::1]/")
        assertThat(
          base
            .newBuilder()
            .host("[::0001]")
            .build()
            .toString(),
        ).isEqualTo("http://[::1]/")
        assertThat(
          base
            .newBuilder()
            .host("::1")
            .build()
            .toString(),
        ).isEqualTo("http://[::1]/")
        assertThat(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashingTest.java

            .testEquals();
    
        assertEquals(hashFunction1a.toString(), hashFunction1b.toString());
        assertEquals(hashFunction2a.toString(), hashFunction2b.toString());
        assertEquals(hashFunction3a.toString(), hashFunction3b.toString());
        assertEquals(hashFunction4a.toString(), hashFunction4b.toString());
      }
    
      static void assertSeedlessHashFunctionEquals(Class<?> clazz) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top