Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Size (0.15 sec)

  1. guava/src/com/google/common/base/Preconditions.java

        } else if (size < 0) {
          throw new IllegalArgumentException("negative size: " + size);
        } else { // index >= size
          return lenientFormat("%s (%s) must be less than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

        } else if (size < 0) {
          throw new IllegalArgumentException("negative size: " + size);
        } else { // index >= size
          return lenientFormat("%s (%s) must be less than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", list.size(), TF_ATTR_STRING, list_total_size);
      std::unique_ptr<void*[]> values(new void*[list.size()]);
      std::unique_ptr<size_t[]> lens(new size_t[list.size()]);
      std::unique_ptr<char[]> storage(new char[list_total_size]);
      TF_OperationGetAttrStringList(oper, "v", values.get(), lens.get(),
                                    list.size(), storage.get(), list_total_size,
                                    s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("maven-it-plugin-b", pom.getValue("build/plugins[2]/artifactId"));
            assertEquals(1, ((List<?>) pom.getValue("build/plugins[1]/executions")).size());
            assertEquals("maven-it-plugin-a", pom.getValue("reporting/plugins[1]/artifactId"));
            assertEquals(1, ((List<?>) pom.getValue("reporting/plugins[1]/reportSets")).size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

      public static <E> Set<Set<E>> combinations(Set<E> set, final int size) {
        final ImmutableMap<E, Integer> index = Maps.indexMap(set);
        checkNonnegative(size, "size");
        checkArgument(size <= index.size(), "size (%s) must be <= set.size() (%s)", size, index.size());
        if (size == 0) {
          return ImmutableSet.<Set<E>>of(ImmutableSet.<E>of());
        } else if (size == index.size()) {
          return ImmutableSet.<Set<E>>of(index.keySet());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    					}
    					//  Asserting the Size in the PartInfo.
    					if actualMetaData.Size != expectedResult.Parts[j].Size {
    						t.Errorf("Test %d: %s: Part %d: Expected Part Size to be \"%d\", but instead found \"%d\"", i+1, instanceType, j+1, expectedResult.Parts[j].Size, actualMetaData.Size)
    					}
    					//  Asserting the ETag in the PartInfo.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize || size == -1:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. guava/src/com/google/common/cache/CacheBuilder.java

            this.maximumSize == UNSET_INT, "maximum size was already set to %s", this.maximumSize);
        checkState(
            this.maximumWeight == UNSET_INT,
            "maximum weight was already set to %s",
            this.maximumWeight);
        checkState(this.weigher == null, "maximum size can not be combined with weigher");
        checkArgument(maximumSize >= 0, "maximum size must not be negative");
        this.maximumSize = maximumSize;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val settings1 = Settings()
        settings1[Settings.HEADER_TABLE_SIZE] = 10000
        settings1[Settings.INITIAL_WINDOW_SIZE] = 20000
        settings1[Settings.MAX_FRAME_SIZE] = 30000
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK SETTINGS
        val settings2 = Settings()
        settings2[Settings.INITIAL_WINDOW_SIZE] = 40000
        settings2[Settings.MAX_FRAME_SIZE] = 50000
        settings2[Settings.MAX_CONCURRENT_STREAMS] = 60000
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("a", "a", "aaa") // size 4
        set("b", "bb", "bbbb") // size 6
        assertThat(cache.size()).isEqualTo(10)
    
        // Cause the size to grow to 12 should evict 'A'.
        set("c", "c", "c")
        cache.flush()
        assertThat(cache.size()).isEqualTo(8)
        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
    
        // Causing the size to grow to 10 should evict nothing.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top