Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 312 for 0300 (0.02 sec)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.init(filterConfig);
    
            // Test NTLM Type 1 message handling
            byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 };
            String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message));
    
            when(request.getHeader("Authorization")).thenReturn(authHeader);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);
                when(mockDigest.verify(buffer, 0, 100, 0, echoResponse)).thenReturn(false);
    
                boolean result = echoResponse.verifySignature(buffer, 0, 100);
    
                assertTrue(result);
                assertFalse(echoResponse.isVerifyFailed());
                verify(mockDigest).verify(buffer, 0, 100, 0, echoResponse);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
            invalidBuffer[2] = 0x00;
            invalidBuffer[3] = 0x00;
    
            assertThrows(IllegalArgumentException.class, () -> {
                Smb2TransformHeader.decode(invalidBuffer, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl

    		uint32_t count;
    		[size_is(count)] DfsInfo300 *s;
    	} DfsEnumArray300;
    
    	typedef union {
    		[case(1)] DfsEnumArray1 *info1;
    		[case(3)] DfsEnumArray3 *info3;
    		[case(200)] DfsEnumArray200 *info200;
    		[case(300)] DfsEnumArray300 *info300;
    	} DfsEnumInfo;
    
    	typedef struct {
    		uint32_t level,
    		[switch_is(level)] DfsEnumInfo e;
    	} DfsEnumStruct;
    
    	[op(0x15)]
    	int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                        }
                        this.s[_i].decode(_src);
                    }
                }
            }
        }
    
        /**
         * DFS information level 300 structure for extended DFS information
         */
        public static class DfsInfo300 extends NdrObject {
    
            /**
             * Default constructor for DfsInfo300
             */
            public DfsInfo300() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
                SMBUtil.writeInt2(this.tflags, dst, dstIndex);
                dstIndex += 2;
                SMBUtil.writeInt4(this.timeout, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved2
                dst[dstIndex++] = (byte) 0x00;
            }
            SMBUtil.writeInt2(this.parameterCount, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
            this.name = "\\PIPE\\";
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.pipeFid, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(35000, SmbConstants.DEFAULT_CONN_TIMEOUT);
        }
    
        @Test
        @DisplayName("Should define SMB flags constants")
        void testSmbFlags() {
            assertEquals(0x00, SmbConstants.FLAGS_NONE);
            assertEquals(0x01, SmbConstants.FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK);
            assertEquals(0x02, SmbConstants.FLAGS_RECEIVE_BUFFER_POSTED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top