Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,553 for zero (0.07 sec)

  1. src/cmd/go/testdata/script/test_fuzz_minimize.txt

    ! stdout '^ok'
    ! stdout 'contains a non-zero byte'
    stdout 'invalid duration'
    stdout FAIL
    
    # Test that fuzzminimizetime cannot be negative times
    ! go test -fuzz=FuzzMinimizerRecoverable -run=FuzzMinimizerRecoverable -fuzztime=10000x -fuzzminimizetime=-1x .
    ! stdout '^ok'
    ! stdout 'contains a non-zero byte'
    stdout 'invalid count'
    stdout FAIL
    
    # Test that fuzzminimizetime can be zero seconds, and minimization is disabled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:15:36 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p256_ordinv_test.go

    	"math/big"
    	"testing"
    )
    
    func TestP256OrdInverse(t *testing.T) {
    	N := elliptic.P256().Params().N
    
    	// inv(0) is expected to be 0.
    	zero := make([]byte, 32)
    	out, err := nistec.P256OrdInverse(zero)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(out, zero) {
    		t.Error("unexpected output for inv(0)")
    	}
    
    	// inv(N) is also 0 mod N.
    	input := make([]byte, 32)
    	N.FillBytes(input)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. callbacks/associations.go

    					for i := 0; i < rValLen; i++ {
    						obj := db.Statement.ReflectValue.Index(i)
    						if reflect.Indirect(obj).Kind() != reflect.Struct {
    							break
    						}
    						if _, zero := rel.Field.ValueOf(db.Statement.Context, obj); !zero { // check belongs to relation value
    							rv := rel.Field.ReflectValueOf(db.Statement.Context, obj) // relation reflect value
    							if !isPtr {
    								rv = rv.Addr()
    							}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/text/template/option.go

    //
    //	"missingkey=default" or "missingkey=invalid"
    //		The default behavior: Do nothing and continue execution.
    //		If printed, the result of the index operation is the string
    //		"<no value>".
    //	"missingkey=zero"
    //		The operation returns the zero value for the map type's element.
    //	"missingkey=error"
    //		Execution stops immediately with an error.
    func (t *Template) Option(opt ...string) *Template {
    	t.init()
    	for _, s := range opt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. src/runtime/mfixalloc.go

    	nchunk uint32  // bytes remaining in current chunk
    	nalloc uint32  // size of new chunks in bytes
    	inuse  uintptr // in-use bytes now
    	stat   *sysMemStat
    	zero   bool // zero allocations
    }
    
    // A generic linked list of blocks.  (Typically the block is bigger than sizeof(MLink).)
    // Since assignments to mlink.next will result in a write barrier being performed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. pkg/scheduler/util/pod_resources.go

    // will be treated as having requested the amount indicated below, for the purpose
    // of computing priority only. This ensures that when scheduling zero-request pods, such
    // pods will not all be scheduled to the node with the smallest in-use request,
    // and that when scheduling regular pods, such pods will not see zero-request pods as
    // consuming no resources whatsoever. We chose these values to be similar to the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 01 06:25:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java

        /**
         * Sets whether a non-zero exit value is ignored, or an exception thrown.
         *
         * @param ignoreExitValue whether a non-zero exit value is ignored, or an exception thrown
         * @return this
         */
        BaseExecSpec setIgnoreExitValue(boolean ignoreExitValue);
    
        /**
         * Tells whether a non-zero exit value is ignored, or an exception thrown. Defaults to <code>false</code>.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/internal/test2json/testdata/framefuzz.json

    {"Action":"run","Test":"TestAddrStringAllocs"}
    {"Action":"output","Test":"TestAddrStringAllocs","Output":"=== RUN   TestAddrStringAllocs\n"}
    {"Action":"run","Test":"TestAddrStringAllocs/zero"}
    {"Action":"output","Test":"TestAddrStringAllocs/zero","Output":"=== RUN   TestAddrStringAllocs/zero\n"}
    {"Action":"run","Test":"TestAddrStringAllocs/ipv4"}
    {"Action":"output","Test":"TestAddrStringAllocs/ipv4","Output":"=== RUN   TestAddrStringAllocs/ipv4\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_supportedPresent() {
        getList().add(0, e0());
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/fiat/p256.go

    }
    
    // Equal returns 1 if e == t, and zero otherwise.
    func (e *P256Element) Equal(t *P256Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P256Element) IsZero() int {
    	zero := make([]byte, p256ElementLen)
    	eBytes := e.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, zero)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top