Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,860 for size0 (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     * </ul>
     *
     * @author Colin Decker
     */
    public class ChecksumBenchmark {
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      private byte[] testBytes;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. internal/hash/errors.go

    }
    
    // SizeTooSmall reader size too small
    type SizeTooSmall struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeTooSmall) Error() string {
    	return fmt.Sprintf("Size small: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeTooLarge reader size too large
    type SizeTooLarge struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeTooLarge) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. docs_src/path_params_numeric_validations/tutorial006.py

    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 397 bytes
    - Viewed (0)
  4. src/main/java/jcifs/Encodable.java

        /**
         * @param dst
         * @param dstIndex
         * @return encoded length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @return the encoded size
         */
        int size ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMap_nullStream() {
        SpliteratorTester.of(
                () ->
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(1, Iterators.size(registry.getSubscribers(1)));
    
        registry.register(new IntegerSubscriber());
        assertEquals(3, Iterators.size(registry.getSubscribers("")));
        assertEquals(1, Iterators.size(registry.getSubscribers(new Object())));
        assertEquals(2, Iterators.size(registry.getSubscribers(1)));
      }
    
      public void testGetSubscribers_returnsImmutableSnapshot() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * @author codelibs
     * @author Shunji Makino
     * @author Keiichi Watanabe
     */
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 1000)
        public String regex;
    
        @Size(max = 1000)
        public String replacement;
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. cmd/batch-expire_gen.go

    				err = z.Metadata[za0002].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Metadata", za0002)
    					return
    				}
    			}
    		case "Size":
    			err = z.Size.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "Type":
    			z.Type, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Type")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top