- Sort Score
- Result 10 results
- Languages All
Results 2001 - 2010 of 2,283 for else (0.07 sec)
-
internal/ioutil/ioutil.go
var ( n int un int nw int64 ) remain := len(buf) % DirectioAlignSize if remain == 0 { // buf is aligned for directio write() n, err = w.Write(buf) nw = int64(n) } else { if remain < len(buf) { n, err = w.Write(buf[:len(buf)-remain]) if err != nil { return written, err } nw = int64(n) } // Disable O_DIRECT on fd's on unaligned buffer
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/tier.go
if err != nil { if errors.Is(err, errTierNotFound) { return nil } return err } if !force { if inuse, err := d.InUse(ctx); err != nil { return err } else if inuse { return errTierBackendNotEmpty } } config.Lock() delete(config.Tiers, tier) delete(config.drivercache, tier) config.Unlock() return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
boolean contains = doc.get("content_description").toString().toLowerCase().contains(query1); if (!contains) { switchFlg = true; } } else { assertTrue(doc.get("content_description").toString().toLowerCase().contains(query2), doc.toString()); } } } @Test
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
private ComponentUtil() { } public static void processAfterContainerInit(final Runnable process) { if (available()) { process.run(); } else { initProcesses.add(process); } } public static void doInitProcesses(final Consumer<? super Runnable> action) { try { initProcesses.forEach(action);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:35:51 UTC 2024 - 20.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
final Monitor monitor = this.monitor; if (monitor.enterWhen(notEmpty, timeout, unit)) { try { return q.poll(); } finally { monitor.leave(); } } else { return null; } } @CanIgnoreReturnValue // pushed down from class to method @Override public E take() throws InterruptedException { final Monitor monitor = this.monitor;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { return new TestSuite(); } else { return CollectionTestSuiteBuilder.using( new MultimapAsMapGetGenerator<K, V, M>(parentBuilder.getSubjectGenerator())) .withFeatures(features)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
// ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position); } else { int positionFloor = IntMath.divide(199 * index, 2, FLOOR); int positionCeil = IntMath.divide(199 * index, 2, CEILING); double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
if err != nil { if !globalIsErasure && !globalIsDistErasure && errors.Is(err, errVolumeNotFound) { // Only single drive mode needs this fallback. meta = newBucketMetadata(bucket) } else { return updatedAt, err } } updatedAt = UTCNow() switch configFile { case bucketPolicyConfig: meta.PolicyConfigJSON = configData meta.PolicyConfigUpdatedAt = updatedAt
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 20.4K bytes - Viewed (0)