Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 2,614 for ksize (0.03 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then - should include context sizes
            assertTrue(size > 112); // Bigger than without contexts
            assertEquals(0, size % 8); // Should be 8-byte aligned
        }
    
        @Test
        @DisplayName("Should write bytes to wire format correctly")
        void testWriteBytesWireFormat() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

            return true;
          }
          if (object instanceof BooleanArrayAsList) {
            BooleanArrayAsList that = (BooleanArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private fun writeControlFrame(
        opcode: Int,
        payload: ByteString,
      ) {
        if (writerClosed) throw IOException("closed")
    
        val length = payload.size
        require(length <= PAYLOAD_BYTE_MAX) {
          "Payload size must be less than or equal to $PAYLOAD_BYTE_MAX"
        }
    
        val b0 = B0_FLAG_FIN or opcode
        sinkBuffer.writeByte(b0)
    
        var b1 = length
        if (isClient) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertEquals(getNumElements() + 1, multimap().size());
        assertTrue(multimap().containsEntry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPropagatesAddAllToMultimap() {
        Collection<V> result = multimap().get(k0());
        assertTrue(result.addAll(singletonList(v3())));
        assertTrue(multimap().containsKey(k0()));
        assertEquals(getNumElements() + 1, multimap().size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

            final String path = "/documents/";
            final boolean directory = false;
            final long size = 1024L;
            final ZonedDateTime lastModified = ZonedDateTime.of(2025, 1, 15, 10, 30, 0, 0, ZoneId.systemDefault());
            final String encodedId = "dGVzdC1maWxlLnR4dA==";
    
            final StorageItem item = new StorageItem(name, path, directory, size, lastModified, encodedId);
    
            assertEquals(name, item.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = HashMultiset.create(50);
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateFromIterable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

      @Param({"3", "30", "300"})
      int size;
    
      @Param MultisetSupplier implSupplier;
    
      private Multiset<Integer> multiset;
      private ImmutableList<Integer> keys;
      private ExecutorService threadPool;
    
      @BeforeExperiment
      void setUp() throws Exception {
        multiset = implSupplier.get();
        ImmutableList.Builder<Integer> builder = ImmutableList.builder();
        for (int i = 0; i < size; i++) {
          builder.add(i);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

        // When called at high frequency, boxing size generates too much garbage,
        // so avoid doing that if we can.
        checkArgument(size >= 0, "Invalid size: %s", size);
        return newDataOutput(new ByteArrayOutputStream(size));
      }
    
      /**
       * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  9. .github/workflows/mint/nginx.conf

            listen  [::]:9000;
            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 16:52:29 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. internal/http/request-recorder.go

    	n, err = r.Reader.Read(p)
    	r.bytesRead += n
    
    	if r.LogBody {
    		r.buf.Write(p[:n])
    	}
    	if err != nil {
    		return n, err
    	}
    	return n, err
    }
    
    // Size returns the body size if the currently read object
    func (r *RequestRecorder) Size() int {
    	return r.bytesRead
    }
    
    // Data returns the bytes that were recorded.
    func (r *RequestRecorder) Data() []byte {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Click Count (0)
Back to Top