Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,108 for dsbyte (0.89 sec)

  1. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
            void nonNullArray(int index) {
                byte[] arr = new byte[10];
                assertEquals(0, response.writeParameterWordsWireFormat(arr, index));
            }
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat tests")
        class WriteBytes {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            System.arraycopy(guid, 0, buffer, 0, 16);
            byte[] token = new byte[10];
            for (int i = 0; i < 10; i++) {
                token[i] = (byte) (i + 16);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

         */
        private static byte[] decryptRC4(byte[] data, Key key) throws GeneralSecurityException, NoSuchAlgorithmException,
                NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException {
            Cipher cipher;
            byte[] decrypt;
            byte[] code = new byte[4];
            Encdec.enc_uint32le(2, code, 0);
            byte[] codeHmac = getHmac(code, key.getEncoded());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

        // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes)
        private static byte[] buildExportName(Oid mech, String name) throws GSSException {
            byte[] der = mech.getDER();
            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(0, dst[1]);
    
            // Verify descriptor (WrLehDO\0B16BBDz\0 in ASCII)
            String expectedDescr = "WrLehDO\u0000B16BBDz\u0000";
            byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII");
            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/bytes/iter.go

    // Lines returns an iterator over the newline-terminated lines in the byte slice s.
    // The lines yielded by the iterator include their terminating newlines.
    // If s is empty, the iterator yields no lines at all.
    // If s does not end in a newline, the final yielded line will not end in a newline.
    // It returns a single-use iterator.
    func Lines(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		for len(s) > 0 {
    			var line []byte
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

         */
        public WitnessUnregisterMessage(byte[] contextHandle) {
            super(WITNESS_UNREGISTER);
            this.contextHandle = contextHandle != null ? contextHandle.clone() : new byte[20];
        }
    
        /**
         * Sets the context handle for unregistration.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		Hidden: true,
    		EnvVar: "MINIO_MEMLIMIT",
    	},
    	cli.IntFlag{
    		Name:   "send-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_SEND_BUF_SIZE",
    		Hidden: true,
    	},
    	cli.IntFlag{
    		Name:   "recv-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_RECV_BUF_SIZE",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "log-dir",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
                dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
                // dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                // dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top