Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 126 for Bad (0.2 sec)

  1. src/runtime/traceback.go

    		}
    	})
    }
    
    // tracebackHexdump hexdumps part of stk around frame.sp and frame.fp
    // for debugging purposes. If the address bad is included in the
    // hexdumped range, it will mark it as well.
    func tracebackHexdump(stk stack, frame *stkframe, bad uintptr) {
    	const expand = 32 * goarch.PtrSize
    	const maxExpand = 256 * goarch.PtrSize
    	// Start around frame.sp.
    	lo, hi := frame.sp, frame.sp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	testCases := []struct {
    		name            string
    		expectedErr     string
    		expectedTimeout time.Duration
    		config          apiserver.EncryptionConfiguration
    	}{
    		{
    			name: "config with bad provider",
    			config: apiserver.EncryptionConfiguration{
    				Resources: []apiserver.ResourceConfiguration{
    					{
    						Resources: []string{"secrets"},
    						Providers: []apiserver.ProviderConfiguration{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  3. pkg/apis/storage/validation/validation_test.go

    			isExpectedFailure: true,
    			capacity: func() *storage.CSIStorageCapacity {
    				capacity := goodCapacity
    				capacity.StorageClassName = ""
    				return &capacity
    			}(),
    		},
    		"bad-storage-class-name": {
    			isExpectedFailure: true,
    			capacity: func() *storage.CSIStorageCapacity {
    				capacity := goodCapacity
    				capacity.StorageClassName = invalidName
    				return &capacity
    			}(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  4. src/time/format.go

    			}
    			b = appendInt(b, zone/60, 2)
    			b = appendInt(b, zone%60, 2)
    		case stdFracSecond0, stdFracSecond9:
    			b = appendNano(b, t.Nanosecond(), std)
    		}
    	}
    	return b
    }
    
    var errBad = errors.New("bad value for field") // placeholder not passed to user
    
    // ParseError describes a problem parsing a time string.
    type ParseError struct {
    	Layout     string
    	Value      string
    	LayoutElem string
    	ValueElem  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/validation/validation_test.go

    	}, {
    		name: "bad exempt flow-schema should fail",
    		flowSchema: &flowcontrol.FlowSchema{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: flowcontrol.FlowSchemaNameExempt,
    			},
    			Spec: badExempt,
    		},
    		expectedErrors: field.ErrorList{field.Invalid(field.NewPath("spec"), badExempt, "spec of 'exempt' must equal the fixed value")},
    	}, {
    		name: "bad catch-all flow-schema should fail",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    			} else if sawInsecure {
    				t.Errorf("%#04x: secure suite after insecure one(s)", id)
    			}
    
    			if http2isBadCipher(id) {
    				sawBad = true
    			} else if sawBad {
    				t.Errorf("%#04x: non-bad suite after bad HTTP/2 one(s)", id)
    			}
    		}
    
    		// Check that the list is sorted according to the documented criteria.
    		isBetter := func(a, b uint16) int {
    			aSuite, bSuite := cipherSuiteByID(a), cipherSuiteByID(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. src/crypto/tls/conn.go

    		// separately, but in constant-time to prevent distinguishing
    		// padding failures from MAC failures. Depending on what value
    		// of paddingLen was returned on bad padding, distinguishing
    		// bad MAC from bad padding can lead to an attack.
    		//
    		// See also the logic at the end of extractPadding.
    		macAndPaddingGood := subtle.ConstantTimeCompare(localMAC, remoteMAC) & int(paddingGood)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			// that its corresponding event will not be propagated.
    			badKey := fmt.Sprintf("/pods/%s-bad/foo", tt.namespace)
    			badOut := &example.Pod{}
    			err = store.GuaranteedUpdate(ctx, badKey, badOut, true, nil, storage.SimpleUpdate(
    				func(runtime.Object) (runtime.Object, error) {
    					obj := basePod.DeepCopy()
    					obj.Namespace = fmt.Sprintf("%s-bad", tt.namespace)
    					return obj, nil
    				}), nil)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. src/runtime/mgcmark.go

    		print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
    		throw("scanstack - bad status")
    	}
    
    	switch readgstatus(gp) &^ _Gscan {
    	default:
    		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
    		throw("mark - bad status")
    	case _Gdead:
    		return 0
    	case _Grunning:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // If this bit is 1, the page is a large page.
    func (b PSAPI_WORKING_SET_EX_BLOCK) LargePage() bool {
    	return (b & (1 << 23)) == 1
    }
    
    // Bad returns the bad status of this page.
    // If this bit is 1, the page is has been reported as bad.
    func (b PSAPI_WORKING_SET_EX_BLOCK) Bad() bool {
    	return (b & (1 << 31)) == 1
    }
    
    // intField extracts an integer field in the PSAPI_WORKING_SET_EX_BLOCK union.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top