Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,372 for directly (0.08 sec)

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

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            byte[] blob = new byte[] { 10, 20, 30, 40, 50 };
            int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 8; // directly after fixed part
            int sessionFlags = Smb2SessionSetupResponse.SMB2_SESSION_FLAGS_IS_GUEST;
            buildSessionSetupBody(buf, headerStart, bodyStart, sessionFlags, secBufOffset, blob);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      @Test
      fun interceptorMakesAnUnrelatedRequest() {
        server.enqueue(MockResponse.Builder().body("a").build()) // Fetched by interceptor.
        server.enqueue(MockResponse.Builder().body("b").build()) // Fetched directly.
        client =
          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                if (chain.request().url.encodedPath == "/b") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/util/SMBUtilTest.java

            }
    
            // Test zero time separately - it's handled specially
            SMBUtil.writeTime(0L, buffer, 0);
            long readTime = SMBUtil.readTime(buffer, 0);
            // When writing 0, it writes 0 directly, and when reading 0, it returns negative offset
            assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, readTime);
        }
    
        @Test
        void testUTimeConversionRoundTrip() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStatsAccumulator.java

        } else {
          sumOfProductsOfDeltas = NaN;
        }
        yStats.add(y);
      }
    
      /**
       * Adds the given statistics to the dataset, as if the individual values used to compute the
       * statistics had been added directly.
       */
      public void addAll(PairedStats values) {
        if (values.count() == 0) {
          return;
        }
    
        xStats.addAll(values.xStats());
        if (yStats.count() == 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            void testConstructor() {
                Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig);
                assertNotNull(writeResponse);
                // Note: getConfig() is protected, cannot test directly
            }
    
            @Test
            @DisplayName("Should initialize count to zero")
            void testInitialCountValue() {
                assertEquals(0, response.getCount());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
            // Verify cache entry was updated (test the cache content directly)
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
            assertTrue(cacheEntry.isComplete());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
    
    You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
    
    You can try it already in the interactive docs:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    
            // The setup count should be initialized to 0x04 in the constructor
            // We can't directly access it, but we can verify the behavior is correct
            assertNotNull(notifyChange);
        }
    
        @Test
        @DisplayName("Test combined completion filters")
        void testCombinedCompletionFilters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          throw ProtocolException("Control frame must be less than ${PAYLOAD_BYTE_MAX}B.")
        }
    
        if (isMasked) {
          // Read the masking key as bytes so that they can be used directly for unmasking.
          source.readFully(maskKey!!)
        }
      }
    
      @Throws(IOException::class)
      private fun readControlFrame() {
        if (frameLength > 0L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // When
            context.secureWipeKeys();
    
            // Then - keys should be wiped (we can't directly access them, but method should complete)
            assertDoesNotThrow(() -> context.secureWipeKeys(), "Should handle multiple wipe calls");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top