Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 2,614 for ksize (0.12 seconds)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInfo.size());
    
            // Test with different instance
            FileEndOfFileInformation info = new FileEndOfFileInformation(999L);
            assertEquals(8, info.size());
        }
    
        @Test
        @DisplayName("Test encode method with valid buffer")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

            result.get(result.size() - 1).delegateString.hashCode());
        return result;
      }
    
      public void testResistsHashFloodingInConstruction() {
        CallsCounter smallCounter = new CallsCounter();
        List<CountsHashCodeAndEquals> haveSameHashesSmall = createAdversarialInput(10, smallCounter);
        int smallSize = haveSameHashesSmall.size();
    
        CallsCounter largeCounter = new CallsCounter();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. cmd/site-replication-metrics.go

    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    			Bytes: hourTotals.Size,
    		},
    		Totals: madmin.RStat{
    			Count: float64(rt.SinceUptime.Count),
    			Bytes: rt.SinceUptime.Bytes,
    		},
    		ErrCounts: errCounts,
    	}
    }
    
    func (rt *RTimedMetrics) addsize(size int64, err error) {
    	// failures seen since uptime
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

        }
    
        val bytes = source().use(consumer)
        val size = sizeMapper(bytes)
        if (contentLength != -1L && contentLength != size.toLong()) {
          throw IOException("Content-Length ($contentLength) and stream length ($size) disagree")
        }
        return bytes
      }
    
      /**
       * Returns the response as a character stream.
       *
       * If the response starts with a
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          ensureCapacity(this.size + other.size);
          arraycopy(
              other.alternatingKeysAndValues,
              0,
              this.alternatingKeysAndValues,
              this.size * 2,
              other.size * 2);
          this.size += other.size;
          return this;
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        for (int size = 1; size < 200; size++) {
          assertWontGrow(
              size,
              new LinkedHashMap<>(),
              Maps.newLinkedHashMapWithExpectedSize(size),
              Maps.newLinkedHashMapWithExpectedSize(size));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static void assertWontGrow(
          int size,
          HashMap<Object, Object> referenceMap,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         * Get buffer length
         *
         * @return buffer length
         */
        public int getLength() {
            return length;
        }
    
        /**
         * Get size of this structure
         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

                new NoopCircuitBreaker(CircuitBreaker.REQUEST),
                controller,
                SearchProgressListener.NOOP,
                shards.size(),
                exc -> {}
            );
            CountDownLatch latch = new CountDownLatch(shards.size());
            for (int i = 0; i < shards.size(); i++) {
                consumer.consumeResult(shards.get(i), () -> latch.countDown());
            }
            latch.await();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                Set<String> excludes = new LinkedHashSet<>(tgt);
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                for (int i = 0, n = tgt.size(); i < n; i++) {
                    indices.add(i);
                }
                for (int i = 0, n = src.size(); i < n; i++) {
                    String s = src.get(i);
                    if (!excludes.contains(s)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top