Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Esterror (0.13 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    				// https://github.com/kubernetes/kubernetes/issues/119770
    				returnStatus = s
    				continue
    			}
    			return nil, framework.AsStatus(fmt.Errorf("running PreFilter plugin %q: %w", pl.Name(), s.AsError())).WithPlugin(pl.Name())
    		}
    		if !r.AllNodes() {
    			pluginsWithNodes = append(pluginsWithNodes, pl.Name())
    		}
    		result = result.Merge(r)
    		if !result.AllNodes() && len(result.NodeNames) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		}
    		t.Logf("Waiting for the inner handler of the request: %q to complete", firstRequestTimesOutPath)
    		select {
    		case firstRequestInnerHandlerWriteErr := <-firstReqHandlerErrCh:
    			if firstRequestInnerHandlerWriteErr != http.ErrHandlerTimeout {
    				t.Fatalf("Expected error: %#v, but got: %s", http.ErrHandlerTimeout, fmtError(firstRequestInnerHandlerWriteErr))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/html/template/escape_test.go

    	if err := t1.Execute(&b, "javascript:alert(1)"); err == nil {
    		t.Fatal("expected error executing t1")
    	} else if gotError := err.Error(); gotError != wantError {
    		t.Fatalf("got t1 execution error:\n\t%s\nwant:\n\t%s", gotError, wantError)
    	}
    	b.Reset()
    	if err := t2.Execute(&b, nil); err != nil {
    		t.Fatalf("error executing t2: %s", err)
    	}
    	const want = "bar"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    }
    inline int Write(int fd, const void* buf, unsigned int count) {
      return static_cast<int>(write(fd, buf, count));
    }
    inline int Close(int fd) { return close(fd); }
    inline const char* StrError(int errnum) { return strerror(errnum); }
    #endif
    inline const char* GetEnv(const char* name) {
    #if GTEST_OS_WINDOWS_MOBILE
      // We are on Windows CE, which has no environment variables.
      return NULL;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    			p := pl.(*PodTopologySpread)
    			cs := framework.NewCycleState()
    			if s := p.PreScore(ctx, cs, tt.pod, tf.BuildNodeInfos(tt.nodes)); !s.IsSkip() {
    				t.Fatalf("Expected skip but got %v", s.AsError())
    			}
    		})
    	}
    }
    
    func TestPreScoreStateEmptyNodes(t *testing.T) {
    	tests := []struct {
    		name                      string
    		pod                       *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  6. src/net/http/transport.go

    	cancel context.CancelCauseFunc
    
    	mu  sync.Mutex // guards err
    	err error      // first setError value for mapRoundTripError to consider
    }
    
    func (tr *transportRequest) extraHeaders() Header {
    	if tr.extra == nil {
    		tr.extra = make(Header)
    	}
    	return tr.extra
    }
    
    func (tr *transportRequest) setError(err error) {
    	tr.mu.Lock()
    	if tr.err == nil {
    		tr.err = err
    	}
    	tr.mu.Unlock()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			}
    
    			res, status := pe.Preempt(ctx, test.pod, nodeToStatusMap)
    			if !status.IsSuccess() && !status.IsRejected() {
    				t.Errorf("unexpected error in preemption: %v", status.AsError())
    			}
    			if diff := cmp.Diff(test.want, res); diff != "" {
    				t.Errorf("Unexpected status (-want, +got):\n%s", diff)
    			}
    			if len(deletedPodNames) != len(test.expectedPods) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  8. src/crypto/x509/x509.go

    				child.AddASN1(cryptobyte_asn1.SEQUENCE, func(child *cryptobyte.Builder) {
    					child.AddASN1(cryptobyte_asn1.OBJECT_IDENTIFIER, func(child *cryptobyte.Builder) {
    						if len(v.der) == 0 {
    							child.SetError(errors.New("invalid policy object identifier"))
    							return
    						}
    						child.AddBytes(v.der)
    					})
    				})
    			}
    		} else {
    			for _, v := range policyIdentifiers {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
Back to top