- Sort Score
- Num 10 results
- Language All
Results 4631 - 4640 of 6,187 for New (0.02 seconds)
-
internal/once/singleton.go
package once // Singleton contains a pointer to T that must be set once. // Until the value is set all Get() calls will block. 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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/RequestHeader.java
} public void setVersionNo(final Long version) { asDocMeta().version(version); } public org.codelibs.fess.crawler.client.http.RequestHeader getCrawlerRequestHeader() { return new org.codelibs.fess.crawler.client.http.RequestHeader(getName(), getValue()); } public WebConfig getWebConfig() { if (webConfig == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReference.java
/** * Invoked on a background thread after the referent has been garbage collected unless security * restrictions prevented starting a background thread, in which case this method is invoked when * new references are created. */ void finalizeReferent();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CircleCIDetector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/JenkinsCIDetector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
Map<String, Object> userData = (Map<String, Object>) context.getUserData(); userData.put("acceptedApiChanges", acceptedApiChanges); userData.put("seenApiChanges", new HashSet<ApiChange>()); }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
@NullUnmarked public final class InvalidatableSetTest { Set<Integer> wrappedSet; Set<Integer> copyOfWrappedSet; InvalidatableSet<Integer> setToTest; @Before public void createSets() { wrappedSet = new HashSet<>(); wrappedSet.add(1); wrappedSet.add(2); wrappedSet.add(3); copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet); setToTest =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
/** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @Test public void testAll() throws Exception { final LruHashMap<String, String> lru = new LruHashMap<String, String>(3); lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111")); Iterator<String> i = lru.keySet().iterator();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKeywordMarkerFilterFactory.java
} @Override public TokenStream create(final TokenStream tokenStream) { if (keywordPath == null) { return tokenStream; } return new ReloadableKeywordMarkerFilter(tokenStream, keywordPath, reloadInterval); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun May 18 02:59:16 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java
} @Override public TokenStream create(final TokenStream tokenStream) { if (stopwordPath == null) { return tokenStream; } return new ReloadableStopFilter(tokenStream, stopwordPath, ignoreCase, reloadInterval); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun May 18 02:59:16 GMT 2025 - 2.1K bytes - Click Count (0)