Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 2,583 for ksize (0.03 seconds)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      private void assertCollectionSize(Collection<?> collection, int size) {
        assertThat(collection.size()).isEqualTo(size);
        if (size > 0) {
          assertThat(collection.isEmpty()).isFalse();
        } else {
          assertThat(collection.isEmpty()).isTrue();
        }
        assertThat(Iterables.size(collection)).isEqualTo(size);
        assertThat(Iterators.size(collection.iterator())).isEqualTo(size);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @Test
        @DisplayName("Test decode with maximum buffer size")
        void testDecodeWithMaxBufferSize() throws SMBProtocolDecodingException {
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, true, false);
    
            // Decode with exact size needed
            int size = securityDescriptor.decode(testBuffer, 0, 100);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            private final long size;
            private final long lastModified;
            private final boolean isDirectory;
            private final long attributes;
            private final long creationTime;
            private final long lastAccessTime;
    
            /**
             * Create file info from name and attributes
             *
             * @param name file name
             * @param size file size
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. cmd/veeam-sos-api.go

    	r := bytes.NewReader(buf)
    
    	off, length := int64(0), r.Size()
    	if rs != nil {
    		off, length, err = rs.GetOffsetLength(r.Size())
    		if err != nil {
    			return nil, err
    		}
    	}
    	r.Seek(off, io.SeekStart)
    
    	return NewGetObjectReaderFromReader(io.LimitReader(r, length), ObjectInfo{
    		Bucket:      bucket,
    		Name:        object,
    		Size:        r.Size(),
    		IsLatest:    true,
    		ContentType: string(mimeXML),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 00:34:56 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

          return head.getNextInWriteQueue() == head;
        }
    
        @Override
        public int size() {
          int size = 0;
          for (ReferenceEntry<K, V> e = head.getNextInWriteQueue();
              e != head;
              e = e.getNextInWriteQueue()) {
            size++;
          }
          return size;
        }
    
        @Override
        public void clear() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/IoTestCase.java

      }
    
      /** Returns a byte array of length size that has values 0 .. size - 1. */
      static byte[] newPreFilledByteArray(int size) {
        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                            }
                        } else {
                            pending.add(element.clone());
                        }
                    }
    
                    List<Plugin> result = new ArrayList<>(src.size() + tgt.size());
                    for (Map.Entry<Object, Plugin> entry : master.entrySet()) {
                        List<Plugin> pre = predecessors.get(entry.getKey());
                        if (pre != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                assertEquals(4, read, "Should return the fixed structure size (4)");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 7 })
            @DisplayName("Throws when structure size is not 4")
            void throws_whenStructureSizeIsNotFour(int size) {
                // Arrange
                byte[] buffer = new byte[2];
                SMBUtil.writeInt2(size, buffer, 0);
                Smb2LogoffResponse resp = newResponse();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. cmd/object-api-putobject_test.go

    func BenchmarkPutObject10KbFS(b *testing.B) {
    	benchmarkPutObject(b, "FS", 10*humanize.KiByte)
    }
    
    // BenchmarkPutObject10KbErasure - Benchmark Erasure.PutObject() for object size of 10KB.
    func BenchmarkPutObject10KbErasure(b *testing.B) {
    	benchmarkPutObject(b, "Erasure", 10*humanize.KiByte)
    }
    
    // BenchmarkPutObject100KbFS - Benchmark FS.PutObject() for object size of 100KB.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Click Count (0)
  10. cmd/data-usage-utils.go

    }
    
    // BucketUsageInfo - bucket usage info provides
    // - total size of the bucket
    // - total objects in a bucket
    // - object size histogram per bucket
    type BucketUsageInfo struct {
    	Size uint64 `json:"size"`
    	// Following five fields suffixed with V1 are here for backward compatibility
    	// Total Size for objects that have not yet been replicated
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top