Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for negate (0.03 seconds)

  1. tensorflow/c/c_api_function_test.cc

                 {{"scalar10_0:output:0", "scalar10"}}, {});
    }
    
    TEST_F(CApiFunctionTest, OneOp_OneInput_OneOutput) {
      /*
       *                   |
       *                   v
       *                 negate
       *                   |
       *                   v
       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      TF_Operation* neg = Neg(feed, func_graph_, s_);
      Define(-1, {}, {feed}, {neg}, {});
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 63.6K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       * high wastes memory.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> initialCapacity(int initialCapacity) {
        checkState(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

       * high wastes memory.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> initialCapacity(int initialCapacity) {
        checkState(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Iterators.java

       * @throws IllegalArgumentException if {@code limitSize} is negative
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterator<T> limit(
          Iterator<T> iterator, int limitSize) {
        checkNotNull(iterator);
        checkArgument(limitSize >= 0, "limit is negative");
        return new Iterator<T>() {
          private int count;
    
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  5. 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) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  6. src/bufio/bufio_test.go

    			t.Fatalf("ReadRune(0x%x) got 0x%x,%d not 0x%x,%d (err=%s)", r1, nr, nbytes, r1, size, err)
    		}
    	}
    }
    
    func TestWriteInvalidRune(t *testing.T) {
    	// Invalid runes, including negative ones, should be written as the
    	// replacement character.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf strings.Builder
    		w := NewWriter(&buf)
    		w.WriteRune(r)
    		w.Flush()
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  7. cmd/object-api-listobjects_test.go

    		// Testing on empty bucket, that is, bucket without any objects in it (14).
    		{"empty-bucket", "", "", "", 0, ListObjectsInfo{}, nil, true},
    		// Setting maxKeys to negative value (15-16).
    		{"empty-bucket", "", "", "", -1, ListObjectsInfo{}, nil, true},
    		{"empty-bucket", "", "", "", 1, ListObjectsInfo{}, nil, true},
    		// Setting maxKeys to a very large value (17).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  8. docs/en/data/translation_reviewers.yml

      url: https://github.com/ovezovs
    neatek:
      login: neatek
      count: 2
      avatarUrl: https://avatars.githubusercontent.com/u/3075678?u=3001e778e4aa0bf6d3142d09f0b9d13b2c55066f&v=4
      url: https://github.com/neatek
    sprytnyk:
      login: sprytnyk
      count: 2
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 01 06:27:43 GMT 2025
    - 65K bytes
    - Click Count (0)
  9. src/bytes/bytes_test.go

    			}
    		}
    	}
    
    	const maxInt = int(^uint(0) >> 1)
    
    	runTestCases("", []testCase{
    		0: {"--", -2147483647, "negative"},
    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
       *     without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSetWithExpectedSize(
          int expectedSize) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
Back to Top