Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 146 for Dummy (0.02 seconds)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

      private static class StrongKeyDummyValueEntry<K>
          extends AbstractStrongKeyEntry<K, Dummy, StrongKeyDummyValueEntry<K>>
          implements StrongValueEntry<K, Dummy, StrongKeyDummyValueEntry<K>> {
    
        private StrongKeyDummyValueEntry(K key, int hash) {
          super(key, hash);
        }
    
        @Override
        public final Dummy getValue() {
          return Dummy.VALUE;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

        return helper;
      }
    
      @Benchmark
      int toString(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          MoreObjects.ToStringHelper helper = newHelper();
          for (int j = 0; j < dataSize; ++j) {
            dataset.addEntries(helper);
          }
          dummy ^= helper.toString().hashCode();
        }
        return dummy;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      private static class StrongKeyDummyValueEntry<K>
          extends AbstractStrongKeyEntry<K, Dummy, StrongKeyDummyValueEntry<K>>
          implements StrongValueEntry<K, Dummy, StrongKeyDummyValueEntry<K>> {
    
        private StrongKeyDummyValueEntry(K key, int hash) {
          super(key, hash);
        }
    
        @Override
        public final Dummy getValue() {
          return Dummy.VALUE;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Interners.java

                @SuppressWarnings("unchecked")
                E result = (E) canonical;
                return result;
              }
            }
    
            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        // we pad because the dummy hash function we use to test this, merely copies the input into
        // the output, so the input must be at least 32 bits, since the output has to be that long
        assertPutString(new char[] {'p', HashTestUtils.randomLowSurrogate(new Random())});
      }
    
      public void testPutStringWithHighSurrogate() {
        // we pad because the dummy hash function we use to test this, merely copies the input into
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

             * @param text  the text to normalize
             * @param field the field to use for normalization
             * @param dummy additional parameters (not used)
             * @return the normalized text
             */
            @Override
            public String normalize(final String text, final String field, final String... dummy) {
                if (text == null) {
                    return null;
                }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

                    plugins {
                      id 'elasticsearch.internal-distribution-archive-check'
                    }"""
            }
            file("SomeFile.txt") << """
                some dummy txt file
            """
    
            buildFile << """
                allprojects {
                    apply plugin:'base'
                    ext.elasticLicenseUrl = "http://foo.bar"
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        /** Lightweight concrete implementation used only for testing. */
        private static class Dummy extends NtlmMessage {
            @Override
            public byte[] toByteArray() {
                return new byte[0];
            }
        }
    
        private Dummy msg;
    
        @BeforeEach
        void setUp() {
            msg = new Dummy();
        }
    
        // ---------------- Flag manipulation tests -----------------
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            Key key = new KerberosKey(null, secretKey.getEncoded(), KerberosConstants.DES_ENC_TYPE, 0);
            byte[] data = new byte[32]; // Dummy data, must be multiple of 8
            byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE);
            assertNotNull(decrypted);
            // With dummy data, we can't verify the content, just that it decrypts without error
            // and returns a result of the expected size.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top