Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for 010203 (0.03 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

            @CsvSource({ "0, 0", "1024, 512", "1048576, 524288", "1073741824, 536870912", "9223372036854775807, 4611686018427387903", // Long.MAX_VALUE and half
                    "-1, -1", // Negative values (edge case)
                    "100, 200" // Free space greater than capacity (edge case)
            })
            void shouldHandleVariousValues(long capacity, long free) {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(capacity, free);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
            assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value
    
            // Verify path is set correctly
            Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path");
            pathField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. api/go1.17.txt

    pkg testing, type TB interface, Setenv(string, string)
    pkg text/template/parse, const SkipFuncCheck = 2
    pkg text/template/parse, const SkipFuncCheck Mode
    pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
    pkg time, const Layout ideal-string
    pkg time, func UnixMicro(int64) Time
    pkg time, func UnixMilli(int64) Time
    pkg time, method (Time) GoString() string
    pkg time, method (Time) IsDST() bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Test multiple close flags combinations")
        void testMultipleCloseFlagsCombinations() {
            // Test combining multiple flags
            int combinedFlags = 0x0003; // Multiple flags set
            request.setCloseFlags(combinedFlags);
    
            byte[] buffer = new byte[256];
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals("Expected structureSize = 60", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 10, 20, 30 })
            @DisplayName("Should correctly read from different buffer offsets")
            void testReadBytesWireFormatWithDifferentOffsets(int offset) throws SMBProtocolDecodingException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Ints.toArray(bytes)).isEqualTo(array);
        assertThat(Ints.toArray(shorts)).isEqualTo(array);
        assertThat(Ints.toArray(ints)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 logoff command */
        protected static final short SMB2_LOGOFF = 0x02;
        /** SMB2 tree connect command */
        protected static final short SMB2_TREE_CONNECT = 0x0003;
        /** SMB2 tree disconnect command */
        protected static final short SMB2_TREE_DISCONNECT = 0x0004;
        /** SMB2 create/open file command */
        protected static final short SMB2_CREATE = 0x0005;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            override fun contentLength(): Long = 1024 * 1024 * 256
    
            override fun writeTo(sink: BufferedSink) {
              var failureCount = 0
              for (i in 0..1023) {
                try {
                  sink.write(ByteArray(1024 * 256))
                  sink.flush()
                } catch (e: IOException) {
                  failureCount++
                  if (failureCount == 3) throw e
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                if (errorStream != null && errorStream.available() != 0) {
                    final byte[] buf = new byte[1024];
                    while (errorStream.read(buf, 0, 1024) != -1) {
                        ;
                    }
                }
                String authHeader;
                if (response == HTTP_UNAUTHORIZED) {
                    authHeader = "WWW-Authenticate";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Given: RID with attribute and mocked data
                samr.SamrRidWithAttribute ridWithAttribute = new samr.SamrRidWithAttribute();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(100, 200);
    
                // When: Decoding
                ridWithAttribute.decode(mockNdrBuffer);
    
                // Then: Should decode both fields
                verify(mockNdrBuffer).align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top