Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2041 - 2050 of 2,574 for None (0.02 sec)

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

      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
          // buffer is full; not enough room for a primitive. We have at least one full chunk.
          munch();
        }
      }
    
      private void munch() {
        Java8Compatibility.flip(buffer);
        while (buffer.remaining() >= chunkSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertEquals(1, authorizations.size(), "The authorizations list should contain one element.");
            assertEquals(mockAuthData, authorizations.get(0), "The authorization element should be the mocked object.");
        }
    
        /**
         * Test constructor with a malformed ASN.1 token.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            byte[] buffer1 = BufferCache.getBuffer();
            buffer1[0] = (byte) 0xAB;
            buffer1[1] = (byte) 0xCD;
            BufferCache.releaseBuffer(buffer1);
    
            // When - Get another buffer (might be the same one from cache)
            byte[] buffer2 = BufferCache.getBuffer();
    
            // Then - Buffer should be valid
            assertNotNull(buffer2, "Reused buffer should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                String readContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(content, readContent, "Content should be preserved after rename");
            }
    
            // Best effort to verify source is gone
            SmbFile checkSource = new SmbFile(baseUrl + "shared/" + sourceFileName, checkContext);
            if (checkSource.exists()) {
                log.warn("Source file still exists after rename, attempting cleanup");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
        assertEquals("Should have removed an element", 2, list.size());
        assertFalse("Second element should be gone", list.contains("B"));
      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
       * both of these mechanisms, so they will be unaffected.
       */
      @Param({"0", "1", "12"})
      int otherEntriesInDataStructure;
    
      final List<ClassValue<?>> retainedReferencesToOtherClassValues = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Short> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top