- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 2,251 for erro (0.03 sec)
-
internal/grid/grid.go
return } } // readAllInto reads from r and appends to b until an error or EOF and returns the data it read. // A successful call returns err == nil, not err == EOF. Because readAllInto is // defined to read from src until EOF, it does not treat an EOF from Read // as an error to be reported. func readAllInto(b []byte, r *wsutil.Reader, want int64) ([]byte, error) { read := int64(0) for { if len(b) == cap(b) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 6.9K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
m := getFakeDPWithIPSet(server, fakeClientSet, set) err := m.AddPodToMesh(fakeCtx, pod, podIPs, "") assert.Error(t, err) // as this is a partial add error we should NOT have added to the ipset fakeIPSetDeps.AssertExpectations(t) pod, err = fakeClientSet.CoreV1().Pods("test").Get(fakeCtx, "test", metav1.GetOptions{}) assert.NoError(t, err) assert.Equal(t, len(pod.Annotations), 1)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 18.7K bytes - Viewed (0) -
internal/kms/secret-key.go
sealingKey := mac.Sum(nil) block, err := aes.NewCipher(sealingKey) if err != nil { return nil, err } aead, err = cipher.NewGCM(block) if err != nil { return nil, err } case kms.ChaCha20: sealingKey, err := chacha20.HChaCha20(s.key, iv) if err != nil { return nil, err } aead, err = chacha20poly1305.New(sealingKey) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/secret_test.go
if err != nil { t.Errorf("error opening test data output file: %v", err) } defer outFile.Close() expectedOut, err := io.ReadAll(outFile) if err != nil { t.Errorf("error reading test data output file: %v", err) } gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} err = cw.Prime(configDump) assert.NoError(t, err) err = cw.PrintSecretSummary() assert.NoError(t, err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
} } catch (final Exception e) { logger.error("Failed to purge user info.", e); resultBuf.append(e.getMessage()).append("\n"); } // update job logs try { jobLogService.updateStatus(); } catch (final Exception e) { logger.error("Failed to purge job logs.", e); resultBuf.append(e.getMessage()).append("\n");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/grid/connection.go
) func gridLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "grid", err, errKind...) } func gridLogIfNot(ctx context.Context, err error, ignored ...error) { logger.LogIfNot(ctx, "grid", err, ignored...) } func gridLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) { logger.LogOnceIf(ctx, "grid", err, id, errKind...) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
} // create syntax errors at current position, with optional context func (d *Decoder) mkError(err DecoderError, context ...string) error { if len(context) > 0 { err.context = context[0] } err.atChar = d.cur() err.pos[0] = d.lineNo + 1 err.pos[1] = int(d.pos - d.lineStart) err.readerErr = d.readerErr return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 13.5K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
var dateStr string err := d.DecodeElement(&dateStr, &startElement) if err != nil { return err } // While AWS documentation mentions that the date specified // must be present in ISO 8601 format, in reality they allow // users to provide RFC 3339 compliant dates. expDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errLifecycleInvalidDate }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0) -
cmd/copy-part-range.go
// for full details. This function treats an empty rangeString as // referring to the whole resource. func parseCopyPartRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) { hrange, err = parseRequestRangeSpec(rangeString) if err != nil { return nil, err } if hrange.IsSuffixLength || hrange.Start < 0 || hrange.End < 0 { return nil, errInvalidRange } return hrange, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
src/bytes/buffer_test.go
} if err := buf.UnreadRune(); err == nil { t.Fatal("UnreadRune after ReadRune at EOF: got no error") } // check not at EOF buf.Write(b) for r := rune(0); r < NRune; r++ { r1, size, _ := buf.ReadRune() if err := buf.UnreadRune(); err != nil { t.Fatalf("UnreadRune(%U) got error %q", r, err) } r2, nbytes, err := buf.ReadRune() if r1 != r2 || r1 != r || nbytes != size || err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0)