- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for setError (0.42 sec)
-
src/cmd/vendor/golang.org/x/text/internal/language/parse.go
func (s *scanner) toLower(start, end int) { for i := start; i < end; i++ { c := s.b[i] if 'A' <= c && c <= 'Z' { s.b[i] += 'a' - 'A' } } } func (s *scanner) setError(e error) { if s.err == nil || (e == ErrSyntax && s.err != ErrSyntax) { s.err = e } } // resizeRange shrinks or grows the array at position oldStart such that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.9K bytes - Viewed (0) -
src/crypto/tls/ticket.go
for _, chain := range s.verifiedChains { b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { // We elide the first certificate because it's always the leaf. if len(chain) == 0 { b.SetError(errors.New("tls: internal error: empty verified chain")) return } for _, cert := range chain[1:] { b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(cert.Raw) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
// a big-endian byte slice with zero or more leading zeroes. func addASN1IntBytes(b *cryptobyte.Builder, bytes []byte) { for len(bytes) > 0 && bytes[0] == 0 { bytes = bytes[1:] } if len(bytes) == 0 { b.SetError(errors.New("invalid integer")) return } b.AddASN1(asn1.INTEGER, func(c *cryptobyte.Builder) { if bytes[0]&0x80 != 0 { c.AddUint8(0) } c.AddBytes(bytes) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/notification.go
reqInfo := (&logger.ReqInfo{}).AppendTags("remotePeer", addr) ctx := logger.SetReqInfo(GlobalContext, reqInfo) peersLogOnceIf(ctx, err, "add-node-err-"+addr) nodeInfo.SetAddr(addr) nodeInfo.SetError(err.Error()) } // GetSysErrors - Memory information func (sys *NotificationSys) GetSysErrors(ctx context.Context) []madmin.SysErrors { reply := make([]madmin.SysErrors, len(sys.peerClients))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
cmd/perf-tests.go
mu.Unlock() } }(i) } wg.Wait() // We already saw write failures, no need to proceed into read's if retError != "" { return SpeedTestResult{ Uploads: totalBytesWritten, Downloads: totalBytesRead, UploadTimes: uploadTimes, Error: retError, }, nil } downloadsCtx, downloadsCancel := context.WithTimeout(ctx, opts.duration) defer downloadsCancel()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} fd := int(netns.Fd()) resp, err := latestConn.send(ctx, data, &fd) if err != nil { return err } if resp.GetAck().GetError() != "" { log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError()) return fmt.Errorf("got ack error: %s", resp.GetAck().GetError()) } return nil } // TODO ctx is unused here // nolint: unparam
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 22:07:03 UTC 2024 - 12.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java
public boolean hasErrorOutput(String expectedOutput) { return getError().contains(expectedOutput); } @Override public ExecutionResult assertHasErrorOutput(String expectedOutput) { return assertContentContains(errorContent.withNormalizedEol(), expectedOutput, "Error output"); } @Override public String getError() { return error.withNormalizedEol(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 19K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java
} @Override public void execute(ExecutionResult executionResult) { String normalizedOutput = executionResult.getNormalizedOutput(); String error = executionResult.getError(); boolean executionFailure = executionResult instanceof ExecutionFailure; // for tests using rich console standard out and error are combined in output of execution result if (executionFailure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
t.Errorf("Found unexpected non-warning event %s", events[i]) } } } type fakeIndexer struct { cache.Indexer getError error } func (f *fakeIndexer) GetByKey(key string) (interface{}, bool, error) { return nil, false, f.getError } func TestStatefulPodControlCreatePodPvcGetFailure(t *testing.T) { recorder := record.NewFakeRecorder(10) set := newStatefulSet(3)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java
} else { resolution = matcher.group(1).trim(); } } @Override public ExecutionFailure getIgnoreBuildSrc() { return new OutputScrapingExecutionFailure(getOutput(), getError(), false); } @Override public LogContent getMainContent() { return mainContent; } private Problem extract(String problem) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 12.5K bytes - Viewed (0)