Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 134 for BOGUS (0.11 sec)

  1. src/os/exec/exec_test.go

    	bs, err := helperCommand(t, "cat", "/bogus/file.foo", "exec_test.go").CombinedOutput()
    	if _, ok := err.(*exec.ExitError); !ok {
    		t.Errorf("expected *exec.ExitError from cat combined; got %T: %v", err, err)
    	}
    	errLine, body, ok := strings.Cut(string(bs), "\n")
    	if !ok {
    		t.Fatalf("expected two lines from cat; got %q", bs)
    	}
    	if !strings.HasPrefix(errLine, "Error: open /bogus/file.foo") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/authentication_test.go

    						"kind":"AuthenticationConfiguration",
    						"jwt":[{"issuer":{"url": "https://test-issuer"}}]}`,
    		},
    		{
    			name:           "missing file",
    			file:           func() string { return "bogus-missing-file" },
    			expectErr:      syscall.Errno(syscall.ENOENT).Error(),
    			expectedConfig: nil,
    		},
    		{
    			name: "invalid content file",
    			file: func() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      // Attributes on tf.Constant aren't reliable: CSE will merge ConstantLike ops
      // with the same value (but different attributes!) into the same tf.Const
      // definition, potentially leading to bogus _replication_info attributes. So
      // we just scrub all tf.Constants of all extra attributes.
      // TODO(kramm): Remove this once tf.Const's folder is aware of extra
      // attributes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	// shouldn't crash.
    	rr := httptest.NewRecorder()
    	req := &Request{
    		Method: "GET",
    		URL: &url.URL{
    			Scheme: "http",
    			Path:   "not-empty-but-no-leading-slash", // bogus
    		},
    	}
    	Redirect(rr, req, "", 304)
    	if rr.Code != 304 {
    		t.Errorf("Code = %d; want 304", rr.Code)
    	}
    }
    
    // Test different URL formats and schemes
    func TestRedirect(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. src/net/lookup_test.go

    	// description of standard DNS names.
    	// This test is checking that other kinds of names are reported
    	// as not found, not reported as invalid names.
    	addrs, err := LookupHost("!!!.###.bogus..domain.")
    	if err == nil {
    		t.Fatalf("lookup succeeded: %v", addrs)
    	}
    	if !strings.HasSuffix(err.Error(), errNoSuchHost.Error()) {
    		t.Fatalf("lookup error = %v, want %v", err, errNoSuchHost)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    			// work correctly for entries in the result of runtime.Callers.
    			pc--
    		}
    		// It's important that interpret pc non-strictly as cgoTraceback may
    		// have added bogus PCs with a valid funcInfo but invalid PCDATA.
    		u, uf := newInlineUnwinder(funcInfo, pc)
    		sf := u.srcFunc(uf)
    		if u.isInlined(uf) {
    			// Note: entry is not modified. It always refers to a real frame, not an inlined one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    					Validation: &apiextensions.CustomResourceValidation{
    						OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
    							Type:       "object",
    							Properties: map[string]apiextensions.JSONSchemaProps{"foo": {Type: "bogus"}},
    						},
    					},
    					PreserveUnknownFields: pointer.BoolPtr(false),
    				},
    				Status: apiextensions.CustomResourceDefinitionStatus{
    					StoredVersions: []string{"version"},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/horizontal.go

    	var possibleLimitingReason string
    
    	minimumAllowedReplicas = hpaMinReplicas
    
    	// Do not scaleup too much to prevent incorrect rapid increase of the number of master replicas caused by
    	// bogus CPU usage report from heapster/kubelet (like in issue #32304).
    	scaleUpLimit := calculateScaleUpLimit(currentReplicas)
    
    	if hpaMaxReplicas > scaleUpLimit {
    		maximumAllowedReplicas = scaleUpLimit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. src/net/http/request.go

    	if justAuthority {
    		rawurl = "http://" + rawurl
    	}
    
    	if req.URL, err = url.ParseRequestURI(rawurl); err != nil {
    		return nil, err
    	}
    
    	if justAuthority {
    		// Strip the bogus "http://" back off.
    		req.URL.Scheme = ""
    	}
    
    	// Subsequent lines: Key: value.
    	mimeHeader, err := tp.ReadMIMEHeader()
    	if err != nil {
    		return nil, err
    	}
    	req.Header = Header(mimeHeader)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader.go

    // getPayload returns a pointer to the extSymPayload struct for an
    // external symbol if the symbol has a payload. Will panic if the
    // symbol in question is bogus (zero or not an external sym).
    func (l *Loader) getPayload(i Sym) *extSymPayload {
    	if !l.IsExternal(i) {
    		panic(fmt.Sprintf("bogus symbol index %d in getPayload", i))
    	}
    	pi := l.extIndex(i)
    	return l.payloads[pi]
    }
    
    // allocPayload allocates a new payload.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top