Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 611 for negative (0.14 sec)

  1. tensorflow/c/c_api_experimental.cc

      TF_ShapeAndType& shape = shape_list->items[index];
      DCHECK(shape.dims == nullptr) << "Shape at " << index << " is already set!";
      DCHECK(num_dims >= 0) << "Number of dimensions cannot be negative!";
      shape.num_dims = num_dims;
      shape.dims = new int64_t[num_dims];
      memcpy(shape.dims, dims, sizeof(int64_t) * num_dims);
    }
    
    void TF_ShapeAndTypeListSetUnknownShape(TF_ShapeAndTypeList* shape_list,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
      // non-negative integer and the limit is calculated as follows.
      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
      // The value of this field can be more than 100, implying that this
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    		}
    		p[c-1] = '\n'
    		*r -= negativeEOFReader(c)
    		return c, nil
    	}
    	return -1, io.EOF
    }
    
    // Test that the scanner doesn't panic and returns ErrBadReadCount
    // on a reader that returns a negative count of bytes read (issue 38053).
    func TestNegativeEOFReader(t *testing.T) {
    	r := negativeEOFReader(10)
    	scanner := NewScanner(&r)
    	c := 0
    	for scanner.Scan() {
    		c++
    		if c > 1 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    	}
    	_, err = NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("sigs: error=%v, want %v", err, ErrFormat)
    	}
    
    	// negative size
    	_, err = NewReader(bytes.NewReader([]byte("foobar")), -1)
    	if err == nil {
    		t.Errorf("archive/zip.NewReader: expected error when negative size is passed")
    	}
    }
    
    func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    1F17F         ; valid                  ;      ; NV8    # 5.2  NEGATIVE SQUARED LATIN CAPITAL LETTER P
    1F180..1F189  ; valid                  ;      ; NV8    # 6.0  NEGATIVE SQUARED LATIN CAPITAL LETTER Q..NEGATIVE SQUARED LATIN CAPITAL LETTER Z
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    //   retry:
    //     attempts: 10 # number of retries for the job before giving up
    //     delay: 500ms # least amount of delay between each retry
    
    //go:generate msgp -file $GOFILE
    
    // BatchJobExpirePurge type accepts non-negative versions to be retained
    type BatchJobExpirePurge struct {
    	line, col      int
    	RetainVersions int `yaml:"retainVersions" json:"retainVersions"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpirePurge{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    				"X-Amz-SignedHeaders", "",
    				"X-Amz-Signature", "",
    			},
    			expectedPreSignValues: preSignValues{},
    			expectedErrCode:       ErrMalformedExpires,
    		},
    		// Test case - 6.
    		// Test case with negative X-Amz-Expires header.
    		{
    			inputQueryKeyVals: []string{
    				// valid  "X-Amz-Algorithm" header.
    				"X-Amz-Algorithm", signV4Algorithm,
    				// valid  "X-Amz-Credential" header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
      // non-negative integer and the limit is calculated as follows.
      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
      // The value of this field can be more than 100, implying that this
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       * @since 33.3.0
       */
      public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
        return new Builder<>(expectedKeys);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. internal/s3select/jstream/decoder.go

    	case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9':
    		i, err := d.number()
    		return i, Number, err
    	case '-':
    		if c = d.next(); c < '0' || c > '9' {
    			return nil, Unknown, d.mkError(ErrSyntax, "in negative numeric literal")
    		}
    		n, err := d.number()
    		if err != nil {
    			return nil, Unknown, err
    		}
    		return -n, Number, nil
    	case 'f':
    		if d.remaining() < 4 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top