- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 6,596 for _return (0.22 sec)
-
cmd/handler-api.go
} if err != nil { return 0 } limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64) if err != nil { // The kernel can return valid but non integer values // but still, no need to interpret more return 0 } if limit >= 100*humanize.TiByte { // No limit set, or unreasonably high. Ignore return 0 } return limit } func availableMemory() (available uint64) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
return false } if !offsetOk && addr.Offset != 0 { p.errorf("%s symbol %q must not be offset from SB", pseudo, symbolName(addr)) return false } return true } // evalInteger evaluates an integer constant for a pseudo-op. func (p *Parser) evalInteger(pseudo string, operands []lex.Token) int64 { addr := p.address(operands) return p.getConstantPseudo(pseudo, &addr) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
* <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link * java.util.Objects#equals} instead. */ public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) { return a == b || (a != null && a.equals(b)); } /** * Generates a hash code for multiple values. The hash code is generated by calling {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
} override fun handle(stream: Stream) { val task = serviceStreamTask(stream) results.add(task) task.run() } /** Returns a task that processes both request and response from [stream]. */ private fun serviceStreamTask(stream: Stream): FutureTask<Void> { return FutureTask<Void> { stream.requestBody.use { stream.responseBody.use { while (true) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/local-locker.go
lockCopy[k] = append(make([]lockRequesterInfo, 0, len(v)), v...) } return lockCopy } func (l *localLocker) Close() error { return nil } // IsOnline - local locker is always online. func (l *localLocker) IsOnline() bool { return true } // IsLocal - local locker returns true. func (l *localLocker) IsLocal() bool { return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0) -
internal/bucket/bandwidth/measurement.go
// Calculate aggregate avg bandwidth and exp window avg m.lock.Lock() defer func() { m.startTime = endTime m.lock.Unlock() }() if m.startTime.IsZero() { return } if endTime.Before(m.startTime) { return } duration := endTime.Sub(m.startTime) bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0) if m.expMovingAvg == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 03 20:41:51 UTC 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
} /** * Override to return a chaining listenableFuture that returns the result of getSuccessfulResult() * when inputFuture returns VALID_INPUT_DATA, and sets the exception to EXCEPTION in all other * cases. */ protected abstract ListenableFuture<T> buildChainingFuture(ListenableFuture<Integer> inputFuture); /** * Override to return the result when VALID_INPUT_DATA is passed in to the chaining
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
*/ E[] createArray(int length); /** * Returns the iteration ordering of elements, given the order in which they were added to the * container. This method may return the original list unchanged, the original list modified in * place, or a different list. * * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/erasure-multipart.go
// part.1's - in such a scenario we must return as if client // disconnected. This means that erasure.Encode() CreateFile() // did not do anything. return pi, IncompleteBody{Bucket: bucket, Object: object} } return pi, toObjectErr(err, minioMetaMultipartBucket, partPath) } // Return success. return PartInfo{ PartNumber: partInfo.Number,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
* support filtering by all attributes (e.g. even though ATTR_DIRECTORY was * specified the server may still return objects that are not directories). */ public boolean accept( SmbFile file ) throws SmbException { return (file.getAttributes() & attributes) != 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.9K bytes - Viewed (0)