Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,352 for BYTE (0.03 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            elementVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // authType
            elementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 0x01, 0x02 }))); // authData
            authVector.add(new DERSequence(elementVector));
    
            byte[] token = new DERSequence(authVector).getEncoded();
            Map<Integer, KerberosKey> keys = new HashMap<>();
    
            // 2. WHEN
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

            dst[di] = (byte) (i & 0xFF);
            di++;
            dst[di++] = (byte) (i >> 8 & 0xFF);
            dst[di++] = (byte) (i >> 16 & 0xFF);
            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /*
         * Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

         * byte order: the highest order byte of the address is in getAddress()[0].
         *
         * @return a four byte array
         */
        public byte[] getAddress() {
            final byte[] addr = new byte[4];
            addr[0] = (byte) (this.address >>> 24 & 0xFF);
            addr[1] = (byte) (this.address >>> 16 & 0xFF);
            addr[2] = (byte) (this.address >>> 8 & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        }
    
        // Test constructor with external hashes
        @Test
        void testConstructorWithExternalHashes() {
            byte[] challenge = new byte[8];
            byte[] ansiHash = new byte[24];
            byte[] unicodeHash = new byte[24];
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", challenge, ansiHash, unicodeHash);
            assertEquals("DOMAIN", auth.getDomain());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

                if (pattern != null) {
                    return Byte.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (byte) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (byte) 1 : (byte) 0;
            } else {
                return toByte(o.toString());
            }
        }
    
        private static Byte toByte(final String s) {
            if (StringUtil.isEmpty(s)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            assertEquals(0, result);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            // Test the writing of bytes to a byte array
            byte[] dst = new byte[100];
            int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0);
    
            // Expected format: buffer format (1 byte) + file name (null-terminated)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        static final byte TRANS2_FIND_FIRST2 = (byte) 0x01;
        static final byte TRANS2_FIND_NEXT2 = (byte) 0x02;
        static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;
        static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        static final int NET_SHARE_ENUM = 0x0000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] bytes) throws IOException {
            return factory.createSource(bytes).slice(off, len);
          }
    
          @Override
          public byte[] getExpected(byte[] bytes) {
            byte[] baseExpected = factory.getExpected(bytes);
            int startOffset = (int) min(off, baseExpected.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/BufferCacheImpl.java

         *
         * @see jcifs.BufferCache#getBuffer()
         */
        @Override
        public byte[] getBuffer() {
            synchronized (this.cache) {
                byte[] buf;
    
                if (this.freeBuffers > 0) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] != null) {
                            buf = (byte[]) this.cache[i];
                            this.cache[i] = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top