Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,352 for 1byte (0.72 sec)

  1. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        }
    
        @Override
        public long getSize() {
            return this.endOfFile;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

         * {@link NtTransQuerySecurityDesc#writeParametersWireFormat(byte[], int)}.
         */
        private static byte[] expectedParameters(int fid, int securityInformation) {
            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer = new byte[100];
            testBuffer[0] = (byte) 0xFF; // Non-zero = Deny
            testBuffer[1] = (byte) 0xFF; // All flags
            testBuffer[2] = (byte) 0xFF; // Size low byte
            testBuffer[3] = (byte) 0xFF; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask all bits
            testBuffer[5] = (byte) 0xFF;
            testBuffer[6] = (byte) 0xFF;
            testBuffer[7] = (byte) 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteStreams.java

          return combineBuffers(bufs, MAX_ARRAY_LEN);
        } else {
          throw new OutOfMemoryError("input is too large to fit in a byte array");
        }
      }
    
      private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) {
        if (bufs.isEmpty()) {
          return new byte[0];
        }
        byte[] result = bufs.remove();
        if (result.length == totalLen) {
          return result;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation);
    
            // Verify writing doesn't affect other instances
            byte[] dst1 = new byte[8];
            byte[] dst2 = new byte[8];
            byte[] dst3 = new byte[8];
    
            desc1.writeParametersWireFormat(dst1, 0);
            desc2.writeParametersWireFormat(dst2, 0);
            desc3.writeParametersWireFormat(dst3, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            netShareEnum = new NetShareEnum(realConfig);
    
            // Test with offset 0
            byte[] dst1 = new byte[256];
            int bytesWritten1 = netShareEnum.writeParametersWireFormat(dst1, 0);
    
            // Test with offset 100
            byte[] dst2 = new byte[256];
            int bytesWritten2 = netShareEnum.writeParametersWireFormat(dst2, 100);
    
            // Same number of bytes should be written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmSsp.java

                    final Type3Message type3 = new Type3Message(src);
                    byte[] lmResponse = type3.getLMResponse();
                    if (lmResponse == null) {
                        lmResponse = new byte[0];
                    }
                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. cmd/metacache-entries_test.go

    					VersionID: [16]byte{2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(60 * time.Minute).UnixNano(),
    					Signature: [4]byte{2, 1, 1, 1},
    					Type:      ObjectType,
    					Flags:     0,
    				}},
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(30 * time.Minute).UnixNano(),
    					Signature: [4]byte{1, 1, 1, 1},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

        }
    
        @Test
        void testReadInt4() {
            byte[] src = new byte[] { (byte) 0x78, (byte) 0x56, (byte) 0x34, (byte) 0x12, // 0x12345678
                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // 0xFFFFFFFF
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // 0x00000000
                    (byte) 0xEF, (byte) 0xCD, (byte) 0xAB, (byte) 0x89 // 0x89ABCDEF
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

            private final byte[] salt;
            private final int hashAlgorithm;
            private volatile byte[] currentHash;
            private volatile boolean isValid;
            private final Object hashLock = new Object();
    
            public PreauthIntegrityContext(byte[] salt, int hashAlgorithm) {
                this.salt = salt != null ? salt.clone() : new byte[0];
                this.hashAlgorithm = hashAlgorithm;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top