- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 6,241 for if (0.05 sec)
-
cmd/metacache-entries.go
return selected, true } // If we would never be able to reach read quorum. if objsValid < r.objQuorum { return nil, false } // If all objects agree. if selected != nil && objsAgree == objsValid { return selected, true } // If cached is nil we shall skip the entry. if selected.cached == nil { return nil, false } // Merge if we have disagreement.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
buildscripts/verify-build.sh
} function main() { echo "Testing in FS setup" if ! run_test_fs; then echo "FAILED" purge "$WORK_DIR" exit 1 fi echo "Testing in Erasure setup" if ! run_test_erasure; then echo "FAILED" purge "$WORK_DIR" exit 1 fi echo "Testing in Distributed Erasure setup" if ! run_test_dist_erasure; then echo "FAILED" purge "$WORK_DIR" exit 1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:28:51 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* * @throws NullPointerException if {@code elements} contains a null element */ public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) { // We special-case for 0 or 1 elements, but going further is madness. if (!elements.hasNext()) { return of(); } E first = elements.next(); if (!elements.hasNext()) { return of(first); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
err = en.Append(0xa1, 0x6d) if err != nil { return } err = en.WriteInt(z.ScanMode) if err != nil { err = msgp.WrapError(err, "ScanMode") return } // write "c" err = en.Append(0xa1, 0x63) if err != nil { return } if z.Cache == nil { err = en.WriteNil() if err != nil { return } } else { err = z.Cache.EncodeMsg(en) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
tok := p.next() if tok.ScanToken == scanner.EOF { p.errorf("missing right parenthesis") return } rname := tok.String() p.back() haveConstant = !p.atStartOfRegister(rname) if !haveConstant { p.back() // Put back the '('. } } if haveConstant { p.back() if p.have(scanner.Float) { if prefix != '$' {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0) -
internal/grid/muxclient.go
if err := m.send(msg); err != nil { return nil, err } if debugReqs { fmt.Println(m.MuxID, m.parent.String(), "SEND") } // Wait for response or context. select { case v, ok := <-ch: if !ok { return nil, ErrDisconnected } if debugReqs && v.Err != nil { v.Err = fmt.Errorf("%d %s RESP ERR: %w", m.MuxID, m.parent.String(), v.Err) } return v.Msg, v.Err case <-ctx.Done():
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
} finally { task = null; } } } finally { // Ensure that if the thread was interrupted at all while processing the task queue, it // is returned to the delegate Executor interrupted so that it may handle the // interruption if it likes. if (interruptedDuringTask) { Thread.currentThread().interrupt(); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SequentialExecutor.java
} finally { task = null; } } } finally { // Ensure that if the thread was interrupted at all while processing the task queue, it // is returned to the delegate Executor interrupted so that it may handle the // interruption if it likes. if (interruptedDuringTask) { Thread.currentThread().interrupt(); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
@Synchronized internal fun trackResponse(cacheStrategy: CacheStrategy) { requestCount++ if (cacheStrategy.networkRequest != null) { // If this is a conditional request, we'll increment hitCount if/when it hits. networkCount++ } else if (cacheStrategy.cacheResponse != null) { // This response uses the cache and not the network. That's a cache hit. hitCount++ }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
src/main/assemblies/files/service.bat
if /i %SERVICE_CMD% == install goto doInstall if /i %SERVICE_CMD% == remove goto doRemove if /i %SERVICE_CMD% == start goto doStart if /i %SERVICE_CMD% == stop goto doStop if /i %SERVICE_CMD% == manager goto doManagment echo Unknown option "%SERVICE_CMD%" :displayUsage echo. echo Usage: service.bat install^|remove^|start^|stop^|manager [SERVICE_ID] goto:eof :doStart "%EXECUTABLE%" //ES//%SERVICE_ID% %LOG_OPTS%
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 6K bytes - Viewed (0)