Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 743 for measure (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          Map<Object, Integer> indexByLock = new HashMap<>();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
          }
    
          // ensure that bulkGet returns locks in monotonically increasing order
          for (int objectsNum = 1; objectsNum <= striped.size() * 2; objectsNum++) {
            Set<Object> objects = Sets.newHashSetWithExpectedSize(objectsNum);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/AbstractStreamingHasher.java

          munch();
        }
      }
    
      private void munch() {
        Java8Compatibility.flip(buffer);
        while (buffer.remaining() >= chunkSize) {
          // we could limit the buffer to ensure process() does not read more than
          // chunkSize number of bytes, but we trust the implementations
          process(buffer);
        }
        buffer.compact(); // preserve any remaining data that do not make a full chunk
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertEquals(0, responseLength);
        }
    
        @Test
        void testMultipleReadDataWireFormatCalls() throws SMBProtocolDecodingException {
            // Test multiple calls to readDataWireFormat to ensure buffer is overwritten
            byte[] firstData = "First data set".getBytes();
            byte[] secondData = "Second data set".getBytes();
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                this.prefix = prefix;
                return this;
            }
    
            /**
             * Sets the attributes of the XML node.
             * <p>
             * The provided map will be copied to ensure immutability.
             *
             * @param attributes the map of attribute names to values
             * @return this builder instance
             */
            public Builder attributes(Map<String, String> attributes) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_2x.md

     *  **Fix: Lazily initialize the response cache.** This avoids strict mode
        warnings when initializing OkHttp on Android‘s main thread.
    
     *  **Fix: Disable ALPN on Android 4.4.** That release of the feature was
        unstable and prone to native crashes in the underlying OpenSSL code.
     *  Fix: Don't send both `If-None-Match` and `If-Modified-Since` cache headers
        when both are applicable.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                setException(failure);
              }
            };
    
        ExecutionException ee1 = getExpectingExecutionException(future);
        ExecutionException ee2 = getExpectingExecutionException(future);
    
        // Ensure we get a unique execution exception on each get
        assertNotSame(ee1, ee2);
    
        assertThat(ee1).hasCauseThat().isSameInstanceAs(failure);
        assertThat(ee2).hasCauseThat().isSameInstanceAs(failure);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. ci/official/installer_wheel.sh

      # RECORD file which contains hashes of all included files.
      python3 -m wheel pack "${pkg_name}"
    done
    
    # Switch back to the original working directory. This is needed to ensure that
    # cleanup steps at the end of the script works as expected.
    popd
    
    echo "Following installer wheels were generated: "
    ls "${TFCI_OUTPUT_DIR}"/*.whl
    
    if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Mar 04 22:39:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (int insertion = 0; insertion < totalInsertions; insertion++) {
            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
          // Hasher#hash will throw an ISE.
          int intToPut = random.nextInt();
          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

              ranges.removeAt(j)
            } else {
              break@mergeAdjacent
            }
          }
        }
        i++
      }
      return ranges
    }
    
    /**
     * Returns a copy of [mappings], splitting to ensure that each mapping is entirely contained within
     * a single section.
     */
    internal fun withoutSectionSpans(mappings: List<Mapping>): List<Mapping> {
      val result = mutableListOf<Mapping>()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

        void testConfigurationUpdates() {
            resourceManager.configure(5000, 1000, false, false);
    
            // Configuration should be applied (we can't directly verify private fields,
            // but we can ensure it doesn't throw)
            assertDoesNotThrow(() -> resourceManager.checkForLeaks());
            assertDoesNotThrow(() -> resourceManager.performCleanup());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top