- Sort Score
- Num 10 results
- Language All
Results 2171 - 2180 of 2,334 for setD (0.03 seconds)
-
docs/debugging/inspect/export.go
} if !bytes.Equal(buf[:4], xlHeader[:]) { return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4]) } if bytes.Equal(buf[4:8], []byte("1 ")) { // Set as 1,0. major, minor = 1, 0 } else { major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8]) } if major > xlVersionMajor {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
android/guava/src/com/google/common/math/BigIntegerMath.java
* then we can get a double approximation of the square root. Then, we iteratively improve this * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2. * This iteration has the following two properties: * * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This isCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
* four int chunks." The state we want after the first four bytes is * * crc0 = ~int0 * crc1 = int1 * crc2 = int2 * crc3 = int3 * * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first int * gives us the desired result. computeForWord(0) == 0, so all the others do the right thing. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 21.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
} /** * Returns a function which performs a map lookup with a default value. The function created by * this method returns {@code defaultValue} for all inputs that do not belong to the map's key * set. See also {@link #forMap(Map)}, which throws an exception in this case. * * <p>Prefer to write the lambda expression {@code k -> map.getOrDefault(k, defaultValue)}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
cmd/data-usage_test.go
} t.Log("serialized size:", buf.Len(), "bytes") var got dataUsageCache err = got.deserialize(&buf) if err != nil { t.Fatal(err) } if got.Info.LastUpdate.IsZero() { t.Error("lastupdate not set") } if !want.Info.LastUpdate.Equal(got.Info.LastUpdate) { t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot: %+v", want, got) } if len(want.Cache) != len(got.Cache) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java
vagrant.setBox(box); vagrant.vmEnv("SYSTEM_JAVA_HOME", convertPath(project, vagrant, systemJdkProvider, "", "")); // set java home for gradle to use. package tests will overwrite/remove this for each test case vagrant.vmEnv("JAVA_HOME", convertPath(project, vagrant, gradleJdkProvider, "", "")); if (System.getenv("JENKINS_URL") != null) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 28 21:31:21 GMT 2021 - 23.1K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.24.md
## Changes by Kind ### API Change - Added error handling for seccomp localhost configurations that do not properly set a localhostProfile ([#117020](https://github.com/kubernetes/kubernetes/pull/117020), [@cji](https://github.com/cji)) [SIG API Machinery and Node]
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Aug 24 00:02:43 GMT 2023 - 473.4K bytes - Click Count (0) -
src/bytes/bytes_test.go
} b.ResetTimer() for i := 0; i < b.N; i++ { Compare(x, y) } }) } } func BenchmarkIndexAnyASCII(b *testing.B) { x := Repeat([]byte{'#'}, 2048) // Never matches set cs := "0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz" for k := 1; k <= 2048; k <<= 4 { for j := 1; j <= 64; j <<= 1 { b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays. public void testAsList_isAView() { float[] array = {0.0f, 1.0f}; List<Float> list = Floats.asList(array); list.set(0, 2.0f); assertThat(array).isEqualTo(new float[] {2.0f, 1.0f}); array[1] = 3.0f; assertThat(list).containsExactly(2.0f, 3.0f).inOrder(); } public void testAsList_toArray_roundTrip() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays. public void testAsList_isAView() { int[] array = {(int) 0, (int) 1}; List<Integer> list = Ints.asList(array); list.set(0, (int) 2); assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1}); array[1] = (int) 3; assertThat(list).containsExactly((int) 2, (int) 3).inOrder(); } public void testAsList_toArray_roundTrip() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0)