Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 180 for zero (0.04 sec)

  1. src/crypto/tls/handshake_client_test.go

    						return fmt.Errorf("client: got len(VerifiedChains) = 0, wanted non-zero")
    					}
    					if c.DidResume {
    						return nil
    						// The SCTs and OCSP Response are dropped on resumption.
    						// See http://golang.org/issue/39075.
    					}
    					if len(c.OCSPResponse) == 0 {
    						return fmt.Errorf("client: got len(OCSPResponse) = 0, wanted non-zero")
    					}
    					if len(c.SignedCertificateTimestamps) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  2. src/runtime/traceback.go

    // information across calls. The More field should be set to non-zero
    // if there is more information for this PC, zero otherwise. If More
    // is set non-zero, the function will be called again with the same
    // PC, and may return different information (this is intended for use
    // with inlined functions). If More is zero, the function will be
    // called with the next PC value in the traceback. When the traceback
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    // and checks that the resulting equals the expectedCost if expectedCost is non-zero, and that the resulting cost is >= expectedCostExceedsLimit
    // if expectedCostExceedsLimit is non-zero. Typically, only expectedCost or expectedCostExceedsLimit is non-zero, not both.
    func schemaChecker(schema *schema.Structural, expectedCost uint64, expectedCostExceedsLimit uint64, t *testing.T) func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. src/fmt/fmt_test.go

    	var yesNo = []bool{true, false}
    	var values = []float64{1, 0, -1, posInf, negInf, NaN}
    	for _, plus := range yesNo {
    		for _, zero := range yesNo {
    			for _, space := range yesNo {
    				for _, char := range "fFeEgG" {
    					realFmt := "%"
    					if zero {
    						realFmt += "0"
    					}
    					if space {
    						realFmt += " "
    					}
    					if plus {
    						realFmt += "+"
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  5. src/crypto/x509/x509.go

    	// not be the zero time.
    	RevocationTime time.Time
    	// ReasonCode represents the reason for revocation, using the integer enum
    	// values specified in RFC 5280 Section 5.3.1. When creating a CRL, the zero
    	// value will result in the reasonCode extension being omitted. When parsing a
    	// CRL, the zero value may represent either the reasonCode extension being
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  6. src/net/http/transport.go

    	zr   *gzip.Reader   // lazily-initialized gzip reader
    	zerr error          // any error from gzip.NewReader; sticky
    }
    
    func (gz *gzipReader) Read(p []byte) (n int, err error) {
    	if gz.zr == nil {
    		if gz.zerr == nil {
    			gz.zr, gz.zerr = gzip.NewReader(gz.body)
    		}
    		if gz.zerr != nil {
    			return 0, gz.zerr
    		}
    	}
    
    	gz.body.mu.Lock()
    	if gz.body.closed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
       * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into
       * cache. This can be useful in testing, or to disable caching temporarily.
       *
       * <p>This feature cannot be used in conjunction with {@link #maximumWeight}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. src/math/big/int_test.go

    		}
    		if (&z).Cmp(a.z) != 0 {
    			t.Errorf("got z = %v; want %v", z, a.z)
    		}
    	}
    }
    
    func TestAbsZ(t *testing.T) {
    	var zero Int
    	for _, a := range sumZZ {
    		var z Int
    		z.Abs(a.z)
    		var e Int
    		e.Set(a.z)
    		if e.Cmp(&zero) < 0 {
    			e.Sub(&zero, &e)
    		}
    		if z.Cmp(&e) != 0 {
    			t.Errorf("got z = %v; want %v", z, e)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM.rules

    // zero instructions
    (Zero [0] _ mem) => mem
    (Zero [1] ptr mem) => (MOVBstore ptr (MOVWconst [0]) mem)
    (Zero [2] {t} ptr mem) && t.Alignment()%2 == 0 =>
    	(MOVHstore ptr (MOVWconst [0]) mem)
    (Zero [2] ptr mem) =>
    	(MOVBstore [1] ptr (MOVWconst [0])
    		(MOVBstore [0] ptr (MOVWconst [0]) mem))
    (Zero [4] {t} ptr mem) && t.Alignment()%4 == 0 =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    Converts a tensor to a scalar predicate with the following rules:
    
    - For 0D tensors, truthiness is determined by comparing against a "zero"
      value. For numerical types it is the obvious zero. For strings it is the
      empty string.
    
    - For >0D tensors, truthiness is determined by looking at the number of
      elements. If has zero elements, then the result is false. Otherwise the
      result is true.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
Back to top