- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,253 for pairOf (0.12 sec)
-
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
val writeObjectBean = SerializableWriteObjectBean(Pair(writeReplaceBean, writeReplaceBean)) pairOf(writeObjectBean) }) { (first, second) -> assertThat( first, sameInstance(second) ) val decodedPair = first.value as Pair<*, *> assertThat( decodedPair.first,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Pair.java
return right; } public static <L, R> Pair<L, R> of(@Nullable L left, @Nullable R right) { return new Pair<L, R>(left, right); } public <T> Pair<T, Pair<L, R>> pushLeft(T t) { return of(t, this); } public <T> Pair<Pair<L, R>, T> pushRight(T t) { return of(this, t); } public <T> Pair<Pair<T, L>, R> nestLeft(T t) { return of(of(t, left), right);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Pair.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/bidi/bracket.go
// // A bracket pair is a pair of characters consisting of an opening // paired bracket and a closing paired bracket such that the // Bidi_Paired_Bracket property value of the former equals the latter, // subject to the following constraints. // - both characters of a pair occur in the same isolating run sequence // - the closing character of a pair follows the opening character
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 19:27:51 UTC 2019 - 11.2K bytes - Viewed (0) -
test/typeparam/pair.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "unsafe" ) type pair[F1, F2 any] struct { f1 F1 f2 F2 } func main() { p := pair[int32, int64]{1, 2} if got, want := unsafe.Sizeof(p.f1), uintptr(4); got != want { panic(fmt.Sprintf("unexpected f1 size == %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 739 bytes - Viewed (0) -
test/escape_param.go
sink = box.pair } func sinkAfterSelfAssignment3(box *BoxedPair) { // ERROR "leaking param content: box" box.pair.p1 = box.pair.p2 // ERROR "ignoring self-assignment in box.pair.p1 = box.pair.p2" leakParam(box.pair.p2) } func sinkAfterSelfAssignment4(box *BoxedPair) { // ERROR "leaking param content: box"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 8.9K bytes - Viewed (0) -
src/net/http/mapping.go
package http // A mapping is a collection of key-value pairs where the keys are unique. // A zero mapping is empty and ready to use. // A mapping tries to pick a representation that makes [mapping.find] most efficient. type mapping[K comparable, V any] struct { s []entry[K, V] // for few pairs m map[K]V // for many pairs } type entry[K comparable, V any] struct { key K value V }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 17:47:07 UTC 2023 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
// Modification Operations /** * Stores a key-value pair in this multimap. * * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put} * always adds a new key-value pair and increases the multimap size by 1. Other implementations * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
// Modification Operations /** * Stores a key-value pair in this multimap. * * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put} * always adds a new key-value pair and increases the multimap size by 1. Other implementations * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0)