- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,833 for arrayT (0.12 sec)
-
android/guava/src/com/google/common/base/Objects.java
return a == b || (a != null && a.equals(b)); } /** * Generates a hash code for multiple values. The hash code is generated by calling {@link * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a * single Object array, do not get any special handling; their hash codes are based on identity * and not contents. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
@Override public HashCode hashInt(int input) { return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array()); } @Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); } @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
src/go/types/sizes.go
// For arrays and structs, alignment is defined in terms // of alignment of the elements and fields, respectively. switch t := under(T).(type) { case *Array: // spec: "For a variable x of array type: unsafe.Alignof(x) // is the same as unsafe.Alignof(x[0]), but at least 1." return s.Alignof(t.elem) case *Struct: if len(t.fields) == 0 && _IsSyncAtomicAlign64(T) { // Special case: sync/atomic.align64 is an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 8.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStoreHelper.java
return PerformanceDatabase.isAvailable() ? supplier.get() : NoResultsStore.getInstance(); } /** * MySQL doesn't support array type. So array in H2 `1,2,3` will be a string like '(1,2,3)' */ public static String toArray(List<String> list) { return list == null ? null : "(" + String.join(",", list) + ")"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Objects.java
return a == b || (a != null && a.equals(b)); } /** * Generates a hash code for multiple values. The hash code is generated by calling {@link * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a * single Object array, do not get any special handling; their hash codes are based on identity * and not contents. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 2.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
} @JvmStatic fun repeat( c: Char, count: Int, ): String { val array = CharArray(count) Arrays.fill(array, c) return String(array) } /** * Okio buffers are internally implemented as a linked list of arrays. Usually this implementation * detail is invisible to the caller, but subtle use of certain APIs may depend on these internal * structures.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
@Override public HashCode hashInt(int input) { return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array()); } @Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); } @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java
assert array.length == inserted; return new ImmutableUniqueList<T>(set, array); } private Object[] shrinkArray() { if (array.length == inserted) { return array; } Object[] newArray = new Object[inserted]; System.arraycopy(array, 0, newArray, 0, inserted);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.1K bytes - Viewed (0) -
src/go/format/benchmark_test.go
i++ } buf.WriteString("\n") } buf.WriteString("}\n") } var tests = []struct { name string gen func(*bytes.Buffer, int) n int }{ {"array1", array1, 10000}, // add new test cases here as needed } func BenchmarkFormat(b *testing.B) { var src bytes.Buffer for _, t := range tests { src.Reset() src.WriteString("package p\n") t.gen(&src, t.n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2K bytes - Viewed (0) -
test/ken/range.go
} } func main() { var i int /* * key only */ i = 0 for k := range a { v := a[k] if v != f(k) { println("key array range", k, v, a[k]) panic("fail") } i++ } if i != size { println("key array size", i) panic("fail") } i = 0 for k := range p { v := p[k] if v != f(k) { println("key pointer range", k, v, p[k]) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.7K bytes - Viewed (0)