Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1901 - 1910 of 2,388 for Long (0.25 seconds)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                AtomicInteger completedVerifies = new AtomicInteger(0);
    
                // Prepare signed data
                SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_SIGNED, data, 16);
    
                long startTime = System.currentTimeMillis();
    
                for (int t = 0; t < threadCount; t++) {
                    executor.submit(() -> {
                        try {
                            startLatch.await();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offset values")
            @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE })
            void testVariousOffsets(long offset) {
                assertDoesNotThrow(() -> request.setOffset(offset));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various remaining bytes values")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private var client =
        clientTestRule
          .newClientBuilder()
          .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE))
          .build()
    
      @Test
      fun trailersHttp1() {
        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         * @param dst
         *            The destination byte array
         * @param dstIndex
         *            The starting index in the destination array
         */
        public static void writeUTime(final Configuration cfg, long t, final byte[] dst, final int dstIndex) {
            if (t == 0L || t == 0xFFFFFFFFFFFFFFFFL) {
                SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex);
                return;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Arrange
            byte[] key = NtlmUtil.nTOWFv2("Domain", "User", "password");
            byte[] server = hex("0102030405060708");
            byte[] clientChallenge = hex("0102030405060708");
            long nanos1601 = 0x1122334455667788L;
            byte[] avPairs = hex("A1A2A3A4");
    
            // Manually build the expected NTLMv2 blob (same as production code)
            int avPairsLength = avPairs.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(1, notifications.size());
            assertEquals(action, notifications.get(0).getAction());
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with long filename")
        void testReadParametersWireFormatLongFilename() throws Exception {
            String longFileName = "very_long_file_name_with_many_characters_to_test_buffer_handling_in_the_implementation.txt";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    ### Test the static files { #test-the-static-files }
    
    Start your application and go to [http://127.0.0.1:8000/static/redoc.standalone.js](http://127.0.0.1:8000/static/redoc.standalone.js).
    
    You should see a very long JavaScript file for **ReDoc**.
    
    It could start with something like:
    
    ```JavaScript
    /*! For license information please see redoc.standalone.js.LICENSE.txt */
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(stats.hitRate()).isEqualTo(0.0);
        assertThat(stats.missCount()).isEqualTo(1);
        assertThat(stats.missRate()).isEqualTo(1.0);
        assertThat(stats.loadCount()).isEqualTo(1);
        long totalLoadTime = stats.totalLoadTime();
        assertThat(totalLoadTime).isAtLeast(0);
        assertThat(stats.averageLoadPenalty()).isAtLeast(0.0);
        assertThat(stats.evictionCount()).isEqualTo(0);
    
        cache.getUnchecked(one);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(stats.hitRate()).isEqualTo(0.0);
        assertThat(stats.missCount()).isEqualTo(1);
        assertThat(stats.missRate()).isEqualTo(1.0);
        assertThat(stats.loadCount()).isEqualTo(1);
        long totalLoadTime = stats.totalLoadTime();
        assertThat(totalLoadTime).isAtLeast(0);
        assertThat(stats.averageLoadPenalty()).isAtLeast(0.0);
        assertThat(stats.evictionCount()).isEqualTo(0);
    
        cache.getUnchecked(one);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/security/first-steps.md

    And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**.
    
    We can use **OAuth2** to build that with **FastAPI**.
    
    But let's save you the time of reading the full long specification just to find those little pieces of information you need.
    
    Let's use the tools provided by **FastAPI** to handle security.
    
    ## How it looks { #how-it-looks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
Back to Top