Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 304 for waitms (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertNotNull(transCallNamedPipe);
            assertEquals(TEST_PIPE_NAME, transCallNamedPipe.name);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat writes correct bytes")
        void testWriteSetupWireFormat() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

        this.connectionType = mode.second
    
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Hexdump.java

                }
                if (val != 0) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
        /**
         * Converts a long value to hexadecimal characters and writes them to the specified character array.
         *
         * @param val the long value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                System.arraycopy(buffer, bufferIndex, this.errorData, 0, bc);
                bufferIndex += bc;
            }
            return bufferIndex - start;
        }
    
        /**
         * Writes the SMB2 header to the wire format.
         *
         * @param dst the destination buffer
         * @param dstIndex the starting position in the buffer
         * @return number of bytes written
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    narrow, to be sure; but I THINK I can kick a little!'
    
      She drew her foot as far down the chimney as she could, and
    waited till she heard a little animal (she couldn't guess of what
    sort it was) scratching and scrambling about in the chimney close
    above her:  then, saying to herself `This is Bill,' she gave one
    sharp kick, and waited to see what would happen next.
    
      The first thing she heard was a general chorus of `There goes
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            more appropriate.
    
    
            It's okay if you can't provide complete context on a use case. We understand if you are not
            able to discuss the full details of what you're working on.
    
    
            But Guava aims to provide functionality that is useful across boundaries of projects,
            companies, or even industries — utilities useful for a sizable proportion of all Java
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

                    } catch (IOException e) {
                        throw new CurlException("Failed to process a request.", e);
                    }
                });
            }
    
            /**
             * Writes the content of the response to the CurlResponse.
             *
             * @param handler the input stream supplier
             */
            private void writeContent(final Supplier<InputStream> handler) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Act
                int encodedSize = context.encode(buffer, 0);
    
                // Assert
                // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length)
                // This appears to be a bug in the implementation, but we test the actual behavior
                assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertEquals(0, result);
    
            // Verify no data was written
            assertArrayEquals(new byte[100], dst);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat writes correct data")
        void testWriteParametersWireFormat() throws Exception {
            netShareEnum = new NetShareEnum(realConfig);
            byte[] dst = new byte[256];
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top