Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for setError (0.46 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    	Shift     int32
    	Stabil    int64
    	Jitcnt    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top