- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for einmal (0.19 sec)
-
cmd/storage-rest-common_gen.go
if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "Final") return } z.Final = nil } else { if z.Final == nil { z.Final = new(dataUsageCache) } err = z.Final.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Final") return } } default: err = dc.Skip() if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 7.9K bytes - Viewed (0) -
cmd/xl-storage-errors.go
func isSysErrNoSpace(err error) bool { return errors.Is(err, syscall.ENOSPC) } // Invalid argument, unsupported flags such as O_DIRECT func isSysErrInvalidArg(err error) bool { return errors.Is(err, syscall.EINVAL) } // Input/output error func isSysErrIO(err error) bool { return errors.Is(err, syscall.EIO) } // Check if the given error corresponds to EISDIR (is a directory). func isSysErrIsDir(err error) bool {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Viewed (0) -
src/bufio/example_test.go
// The simplest use of a Scanner, to read standard input as a set of lines. func ExampleScanner_lines() { scanner := bufio.NewScanner(os.Stdin) for scanner.Scan() { fmt.Println(scanner.Text()) // Println will add back the final '\n' } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading standard input:", err) } } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
internal/http/listener.go
return deadlineconn.New(result.conn). WithReadDeadline(listener.opts.ClientReadTimeout). WithWriteDeadline(listener.opts.ClientWriteTimeout), result.err } case <-listener.ctx.Done(): } return nil, syscall.EINVAL } // Close - closes underneath all TCP listeners. func (listener *httpListener) Close() (err error) { listener.ctxCanceler() for i := range listener.listeners { listener.listeners[i].Close() }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 5.6K bytes - Viewed (0) -
src/bufio/scan.go
// // The value is useful to stop processing early or when it is necessary to // deliver a final empty token (which is different from a nil token). // One could achieve the same behavior with a custom error value but // providing one here is tidier. // See the emptyFinalToken example for a use of this value. var ErrFinalToken = errors.New("final token") // Scan advances the [Scanner] to the next token, which will then be
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 14.7K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
args: strings.Split("group create --name foo", " "), expectedException: true, expectedOutput: "Error: expecting a workload namespace\n", }, { description: "valid case - minimal flags, infer defaults", args: strings.Split("group create --name foo --namespace bar", " "), expectedException: false, expectedOutput: defaultYAML, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
cmd/erasure-metadata.go
for _, sum := range e.Checksums { if sum.PartNumber == partNumber { // Return the checksum return sum } } return ChecksumInfo{Algorithm: DefaultBitrotAlgorithm} } // ShardFileSize - returns final erasure size from original size. func (e ErasureInfo) ShardFileSize(totalLength int64) int64 { if totalLength == 0 { return 0 } if totalLength == -1 { return -1 } numShards := totalLength / e.BlockSize
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 19.2K bytes - Viewed (1) -
cmd/api-router.go
} // Collect API stats using the API name got from reflection in // `getHandlerName`. statsCollectedHandler := collectAPIStats(handlerName, throttledHandler) // Call the final handler. statsCollectedHandler(w, r) } return handler } // registerAPIRouter - registers S3 compatible APIs. func registerAPIRouter(router *mux.Router) { // Initialize API.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 22.8K bytes - Viewed (0) -
cmd/test-utils_test.go
service := sumHMAC(region, []byte(string(serviceS3))) signingKey := sumHMAC(service, []byte("aws4_request")) signature := hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign))) // final Authorization header parts := []string{ "AWS4-HMAC-SHA256" + " Credential=" + accessKey + SlashSeparator + scope, "SignedHeaders=" + signedHeaders, "Signature=" + signature, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0)