- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 1,810 for cause (0.08 seconds)
-
internal/once/singleton.go
// GetNonBlocking will return the singleton value or nil if not set yet. func (s *Singleton[T]) GetNonBlocking() *T { select { case <-s.set: return s.v default: return nil } } // IsSet will return whether the singleton has been set. func (s *Singleton[T]) IsSet() bool { select { case <-s.set: return true default: return false } } // Set the value and unblock all Get requests.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
@Override public ImmutableSet<Feature<? super Object>> getImpliedFeatures() { switch (this) { case IMPLIES_FOO: return ImmutableSet.of(FOO); case IMPLIES_IMPLIES_FOO: return ImmutableSet.of(IMPLIES_FOO); case IMPLIES_BAR: return ImmutableSet.of(BAR); case IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR: return ImmutableSet.of(IMPLIES_FOO, IMPLIES_BAR); default:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
cmd/erasure-sets.go
defer timer.Stop() for { select { case <-ctx.Done(): return case <-timer.C: var wg sync.WaitGroup for _, set := range s.sets { wg.Add(1) go func(set *erasureObjects) { defer wg.Done() if set == nil { return } set.cleanupStaleUploads(ctx) }(set) } wg.Wait() case <-staleUploadsCleanupIntervalChangedCh: }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
if (entry == null) return; switch (changeType) { case FILE_ADDED: // Invalidate cache - we need to fetch new file info entry.invalidate(); break; case FILE_REMOVED: entry.removeChild(childName); break; case FILE_MODIFIED: // Remove from cache to force refresh
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/Log4j2Configuration.java
public class Log4j2Configuration extends BaseSlf4jConfiguration { @Override public void setRootLoggerLevel(Level level) { String value = switch (level) { case DEBUG -> "debug"; case INFO -> "info"; default -> "error"; }; System.setProperty("maven.logging.root.level", value); } @Override public void activate() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 17 09:56:12 GMT 2024 - 1.4K bytes - Click Count (0) -
internal/grid/handlers.go
for { select { case <-ctx.Done(): return case v, ok := <-in: if !ok { return } input := h.NewRequest() _, err := input.UnmarshalMsg(v) if err != nil { gridLogOnceIf(ctx, err, err.Error()) } PutByteBuffer(v) // Send input select { case <-ctx.Done(): returnCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—and * thus its value may be legitimately {@code null}.) */ @SuppressWarnings("nullness") @ParametricNullnessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return switch (informationLevel) { case SMB_INFO_ALLOCATION -> readSmbInfoAllocationWireFormat(buffer, bufferIndex); case SMB_QUERY_FS_SIZE_INFO -> readSmbQueryFSSizeInfoWireFormat(buffer, bufferIndex); case SMB_FS_FULL_SIZE_INFORMATION -> readFsFullSizeInformationWireFormat(buffer, bufferIndex); default -> 0; }; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
assertEquals(1, dataMap.size()); assertEquals("Z1", dataMap.get("z")); } /** Case 5: Overwrite processing for multiple fields, existing overwrite keys are also properly removed */ @Test public void test_mergeResponseData_multipleOverwrite() { Map<String, Object> dataMap = new HashMap<>(); // Case where the initial dataMap also contains overwrite keys dataMap.put("m", "M0");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 19.7K bytes - Click Count (0)