Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 412 for 50 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        void testWriteBytesWireFormatWithSessionBinding() throws Exception {
            // Given
            request.setSessionBinding(true);
            byte[] buffer = new byte[512];
            int headerStart = 50;
    
            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
            // Then - verify the body was written correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            }
        }
    
        @Test
        void readRDataWireFormat_shouldTrimTrailingSpaces() throws Exception {
            // Test that trailing spaces (0x20) are trimmed from names
            byte[] src = new byte[50];
            int srcIndex = 0;
    
            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
            rDataLengthField.setAccessible(true);
            rDataLengthField.set(response, 31);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. docs/features/caching.md

          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events 
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. CHANGELOG.md

     *  Fix: Change `MockWebServer.close()` to cancel ongoing calls that are blocked on a delay.
    
     *  Upgrade: [Okio 3.13.0][okio_3_13_0].
    
    This release also stabilizes many APIs in the `mockwebserver3` artifact that's new in 5.0.
    
     *  Breaking: `RecordedRequest.body` is now nullable. Null is used when the request does not have a
        body.
    
     *  Breaking: `RecordedRequest.chunkSizes` is now nullable. Null is used when the request does not
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        ExecutorService executor = newFixedThreadPool(barrier.getParties());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper = new SafeAtomicHelper();
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
          // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

                return 0;
    
            // Adjust based on error rate
            double errorRate = getErrorRate();
            if (errorRate > 0.1)
                score -= 50;
            else if (errorRate > 0.01)
                score -= 20;
    
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
            score += remoteInterface.getScore() / 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int threadCount = 20;
            int opsPerThread = 50;
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                handle.setDoReceiveFragmentReturn(50);
    
                // When: Calling fragment methods
                int sendReceiveResult = handle.doSendReceiveFragment(new byte[10], 0, 10, new byte[100]);
                int receiveResult = handle.doReceiveFragment(new byte[100]);
    
                // Then: Should return configured values
                assertEquals(100, sendReceiveResult);
                assertEquals(50, receiveResult);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top