Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 320 for isSmall (0.04 sec)

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

    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    @SuppressWarnings("unused") // Nested enums used reflectively in setUp.
    @NullUnmarked
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(adapter.fromDer(bytes)).isNull()
      }
    
      /** Make the claimed length of a nested object larger than the enclosing object. */
      @Test fun `large object inside small object`() {
        val bytes = "301b300d06092a864886f70d010101050003847fffffff000504030201".decodeHex()
        assertFailsWith<ProtocolException> {
          CertificateAdapters.subjectPublicKeyInfo.fromDer(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        InetAddress localAddr;
        int localPort;
        UniAddress address;
        Socket socket;
        int port, mid;
        OutputStream out;
        InputStream in;
        byte[] sbuf = new byte[512]; /* small local buffer */
        SmbComBlankResponse key = new SmbComBlankResponse();
        long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT;
        LinkedList referrals = new LinkedList();
        SigningDigest digest = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    			if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 {
    				return i + j - last
    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    			c0 := b[last]
    			c1 := b[last-1] // There are at least 2 chars to match
    		loop:
    			for ; i < len(s); i++ {
    				if s[i] == c0 && s[i-1] == c1 {
    					for k := 2; k < n; k++ {
    						if s[i-k] != b[last-k] {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    	}{
    		// inputParts - 0.
    		// Case for replicating ETag mismatch.
    		{
    			[]CompletePart{
    				{ETag: "abcd", PartNumber: 1},
    			},
    		},
    		// inputParts - 1.
    		// should error out with part too small.
    		{
    			[]CompletePart{
    				{ETag: "e2fc714c4727ee9395f324cd2e7f331f", PartNumber: 1},
    				{ETag: "1f7690ebdd9b4caf8fab49ca1757bf27", PartNumber: 2},
    			},
    		},
    		// inputParts - 2.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          // Flow control was designed more for servers, or proxies than edge clients. If we are a client,
          // set the flow control window to 16MiB.  This avoids thrashing window updates every 64KiB, yet
          // small enough to avoid blowing up the heap.
          if (builder.client) {
            set(Settings.INITIAL_WINDOW_SIZE, OKHTTP_CLIENT_WINDOW_SIZE)
          }
        }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. docs/smb3-features/03-multi-channel-design.md

    // In SmbFile.java
    public void optimizedLargeRead(byte[] buffer, long offset, int length) throws IOException {
        if (!session.isMultiChannelEnabled() || length < 1048576) {  // 1MB threshold
            // Use single channel for small reads
            normalRead(buffer, offset, length);
            return;
        }
        
        // Split large read across multiple channels
        ChannelManager channelManager = session.getChannelManager();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are
       * generated by {@code factory}. Most users should prefer {@link MultimapBuilder}, though a small
       * number of users will need this method to cover map or collection types that {@link
       * MultimapBuilder} does not support.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are
       * generated by {@code factory}. Most users should prefer {@link MultimapBuilder}, though a small
       * number of users will need this method to cover map or collection types that {@link
       * MultimapBuilder} does not support.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] rawMessage = originalMessage.toByteArray();
    
                // Manually set targetNameOff to a value that makes it too small for context/reserved
                Type2Message.writeULong(rawMessage, 16, 0); // targetNameOff is at byte 16
    
                // When
                Type2Message parsedMessage = new Type2Message(rawMessage);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top