Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 483 for __size (1.36 sec)

  1. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      int charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
    
        return total;
      }
    
      @Benchmark
      int stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
    
        return total;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public void testSerialization() {
        Multimap<String, Integer> multimap = createMultimap();
        SerializableTester.reserializeAndAssert(multimap);
        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
        SerializableTester.reserializeAndAssert(multimap.get("foo"));
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        private int size = 0;
        private int modCount = 0;
    
        private @Nullable ValueEntry<K, V> firstEntry;
        private @Nullable ValueEntry<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          // Round expected values up to a power of 2 to get the table size.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetViewTest.java

            .testEquals();
      }
    
      /** Returns a {@link Set} with a {@link Set#size()} of {@code size}. */
      private static ContiguousSet<Integer> setSize(int size) {
        checkArgument(size >= 0);
        ContiguousSet<Integer> set = ContiguousSet.closedOpen(0, size);
        checkState(set.size() == size);
        return set;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertEquals("Correct string should be delivered.", EVENT, stringEvents.get(0));
    
        // Check the Catcher<Object>...
        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            long initialAllocated = bufferManager.getTotalAllocated();
    
            // Allocate regions larger than pool buffer size to force new allocations
            RdmaMemoryRegion region1 = bufferManager.getSendRegion(131072); // 128KB > 64KB pool size
            RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

        }
    
        @Test
        @DisplayName("size() returns 8-byte aligned value (header + 4)")
        void size_returnsAlignedValue() {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            int base = Smb2Constants.SMB2_HEADER_LENGTH + 4; // structure size
            int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment
    
            // Act
            int actual = req.size();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. utils/tests/models.go

    	ID               int              `gorm:"primarykey; size:255"`
    	AppliesToProduct []*CouponProduct `gorm:"foreignKey:CouponId;constraint:OnDelete:CASCADE"`
    	AmountOff        uint32           `gorm:"column:amount_off"`
    	PercentOff       float32          `gorm:"column:percent_off"`
    }
    
    type CouponProduct struct {
    	CouponId  int    `gorm:"primarykey;size:255"`
    	ProductId string `gorm:"primarykey;size:255"`
    	Desc      string
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/EditForm.java

         * This is a required field for identifying which data config to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this data configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
         * The timestamp when this data configuration was last updated.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/group/EditForm.java

         * This is a required field for identifying which group to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this group.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
         * The timestamp when this group was last updated.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top