- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 397 for hosting (0.06 seconds)
-
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* double the index of the entry in entrySet.asList.) * * The basic data structure is described in https://en.wikipedia.org/wiki/Open_addressing. * The pointer to a key is stored in hashTable[Hashing.smear(key.hashCode()) % table.length], * save that if that location is already full, we try the next index, and the next, until we * find an empty table position. Since the table has a power-of-two size, we use
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
Checksum checksum = supplier.get(); checksum.update(bytes, 0, bytes.length); long value = checksum.getValue(); String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString); assertThat(func.toString()).isEqualTo(toString); assertEquals(value, func.hashBytes(bytes).padToLong()); } private static void assertHash32(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
V value = entry.getValue(); checkEntryNotNull(key, value); int keyHash = key.hashCode(); int valueHash = value.hashCode(); int keyBucket = Hashing.smear(keyHash) & mask; int valueBucket = Hashing.smear(valueHash) & mask; ImmutableMapEntry<K, V> nextInKeyBucket = keyTable[keyBucket]; ImmutableMapEntry<K, V> nextInValueBucket = valueTable[valueBucket]; try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
} if (!bits.get(combinedHash % bitSize)) { return false; } } return true; } }, /** * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number byCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
int x = n / i; if (x * i == n) return factor(x) + " × " + i; } return Integer.toString(n); } }; thread.start(); } /** * This request body makes it possible for another thread to stream data to the uploading request. * This is potentially useful for posting live event streams like video capture. Callers should * write to {@code sink()} and close it to complete the post.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 3.1K bytes - Click Count (0) -
cmd/erasure-sets_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "path/filepath" "testing" "github.com/google/uuid" ) var testUUID = uuid.MustParse("f5c58c61-7175-4018-ab5e-a94fe9c2de4e") func BenchmarkCrcHash(b *testing.B) { cases := []struct { key int }{ {16}, {64}, {128}, {256}, {512}, {1024}, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
code_of_conduct.md
when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 18:38:58 GMT 2020 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
} @ParameterizedTest @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" }) @DisplayName("Should handle various input sizes for hashing") void testHashVariousInputSizes(String input) { // Given byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts
import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.api.artifacts.VersionCatalogsExtension import okhttp3.buildsupport.platform import okhttp3.buildsupport.testJavaVersion plugins { id("okhttp.base-conventions") } val libs = extensions.getByType<VersionCatalogsExtension>().named("libs") fun library(alias: String) = libs.findLibrary(alias).get().get().let {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 07:16:57 GMT 2026 - 1.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/HashingTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Hashing.smear; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** Tests for {@code Hashing}. */ @GwtCompatible @NullMarked public class HashingTest extends TestCase { public void testSmear() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 5.9K bytes - Click Count (0)