- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,387 for Take (0.01 sec)
-
internal/once/singleton.go
type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v } // GetNonBlocking will return the singleton value or nil if not set yet.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 952 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collection; import java.util.List; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/sts/custom-token-identity.md
After configuring the plugin, use the generated Role ARN with `AssumeRoleWithCustomToken` to get temporary credentials to access object storage. ## API Request To make an STS API request with this method, send a POST request to the MinIO endpoint with following query parameters: | Parameter | Type | Required | |
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3K bytes - Viewed (0) -
internal/bucket/replication/and.go
if err := t.Validate(); err != nil { return err } } return nil } // ContainsDuplicateTag - returns true if duplicate keys are present in And func (a And) ContainsDuplicateTag() bool { x := make(map[string]struct{}, len(a.Tags)) for _, t := range a.Tags { if _, has := x[t.Key]; has { return true } x[t.Key] = struct{}{} } return false
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
internal/config/lambda/event/targetidset.go
if _, ok := sset[k]; !ok { nset.add(k) } } return nset } // NewTargetIDSet - creates new TargetID set with given TargetIDs. func NewTargetIDSet(targetIDs ...TargetID) TargetIDSet { set := make(TargetIDSet) for _, targetID := range targetIDs { set.add(targetID) } return set
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtIncompatible; import java.util.Set; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 1.4K bytes - Viewed (0) -
tests/lru_test.go
if lru.Cap() != 0 { t.Errorf("Expected lru to be empty, but it was not") } } func BenchmarkLRU_Rand_NoExpire(b *testing.B) { l := lru.NewLRU[int64, int64](8192, nil, 0) trace := make([]int64, b.N*2) for i := 0; i < b.N*2; i++ { trace[i] = getRand(b) % 32768 } b.ResetTimer() var hit, miss int for i := 0; i < 2*b.N; i++ { if i%2 == 0 { l.Add(trace[i], trace[i])
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
compat/maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml
<artifactId>maven-it-it0063</artifactId> <version>1.0</version> <packaging>jar</packaging> <name>Maven Integration Test :: it0063</name> <description>Test the use of a system scoped dependency to a (fake) tools.jar.</description> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.4.2</version> <scope>system</scope>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
int expectPort, boolean expectHasExplicitPort) { HostAndPort hp; try { hp = HostAndPort.fromString(hpString); } catch (IllegalArgumentException e) { // Make sure we expected this. assertThat(expectHost).isNull(); return; } assertThat(expectHost).isNotNull(); // Apply withDefaultPort(), yielding hp2.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
int expectPort, boolean expectHasExplicitPort) { HostAndPort hp; try { hp = HostAndPort.fromString(hpString); } catch (IllegalArgumentException e) { // Make sure we expected this. assertThat(expectHost).isNull(); return; } assertThat(expectHost).isNotNull(); // Apply withDefaultPort(), yielding hp2.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.5K bytes - Viewed (0)