Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,614 for ksize (0.03 seconds)

  1. internal/bucket/lifecycle/rule_test.go

                                  <Status>OK</Status>
    	                    </Rule>`,
    			expectedErr: errInvalidRuleStatus,
    		},
    		{ // Rule with negative values for ObjectSizeLessThan
    			inputXML: `<Rule>
    				<ID>negative-obj-size-less-than</ID>
    				<Filter><ObjectSizeLessThan>-1</ObjectSizeLessThan></Filter>
    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/StandardTable.java

      }
    
      @Override
      public boolean isEmpty() {
        return backingMap.isEmpty();
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Map<C, V> map : backingMap.values()) {
          size += map.size();
        }
        return size;
      }
    
      // Mutators
    
      @Override
      public void clear() {
        backingMap.clear();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

         */
        @Nonnull
        MessageBuilder builder();
    
        /**
         * Creates a new message builder of the specified size.
         * @param size the initial size of the message builder buffer
         * @return a new message builder
         */
        @Nonnull
        MessageBuilder builder(int size);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                model.setDependencies(new ArrayList<>(normalized.values()));
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. cmd/bucket-replication_test.go

    	{ // 1. no replication config
    		name:         "no replication config",
    		info:         ObjectInfo{Size: 100},
    		rcfg:         replicationConfig{Config: nil},
    		expectedSync: false,
    	},
    	{ // 2. existing object replication config enabled, no versioning
    		name:         "existing object replication config enabled, no versioning",
    		info:         ObjectInfo{Size: 100},
    		rcfg:         replicationConfig{Config: &configs[0]},
    		expectedSync: false,
    	},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/bufio/bufio.go

    	if ok && len(b.buf) >= size {
    		return b
    	}
    	r := new(Reader)
    	r.reset(make([]byte, max(size, minReadBufferSize)), rd)
    	return r
    }
    
    // NewReader returns a new [Reader] whose buffer has the default size.
    func NewReader(rd io.Reader) *Reader {
    	return NewReaderSize(rd, defaultBufSize)
    }
    
    // Size returns the size of the underlying buffer in bytes.
    func (b *Reader) Size() int { return len(b.buf) }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 06 17:28:40 GMT 2026
    - 22K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/pager/UserPager.java

         * Returns the default page size if not set or invalid.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the number of records per page.
         *
         * @param pageSize the page size
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        assertThat(c.size()).isEqualTo(1);
        assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
      }
    
      public void testComputeIfPresent() {
        cache.put(key, "1");
        // simultaneous update for same key, expect count successful updates
        doParallelCacheOp(count, n -> cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n));
        assertThat(cache.size()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @Test
            @DisplayName("Should read valid structure with size 4")
            void testReadBytesWireFormatValid() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 2;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. internal/hash/crc.go

    // as if the content of each was appended.
    // The size of the content that produced the second checksum must be provided.
    // Not all checksum types can be merged, use the CanMerge method to check.
    // Checksum types must match.
    func (c *Checksum) AddPart(other Checksum, size int64) error {
    	if !other.Type.CanMerge() {
    		return fmt.Errorf("checksum type cannot be merged")
    	}
    	if size == 0 {
    		return nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top