Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,386 for Byte (0.02 sec)

  1. src/main/java/jcifs/ntlmssp/Type1Message.java

            this.suppliedWorkstation = suppliedWorkstation;
        }
    
        @Override
        public byte[] toByteArray() {
            try {
                int flags = getFlags();
                int size = 8 * 4 + ((flags & NTLMSSP_NEGOTIATE_VERSION) != 0 ? 8 : 0);
    
                byte[] domain = {};
                final String suppliedDomainString = getSuppliedDomain();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. cmd/dummy-data-generator_test.go

    	}
    	return true, ""
    }
    
    func TestCmpReaders(t *testing.T) {
    	{
    		r1 := bytes.NewReader([]byte("abc"))
    		r2 := bytes.NewReader([]byte("abc"))
    		ok, msg := cmpReaders(r1, r2)
    		if !ok || msg != "" {
    			t.Fatalf("unexpected")
    		}
    	}
    
    	{
    		r1 := bytes.NewReader([]byte("abc"))
    		r2 := bytes.NewReader([]byte("abcd"))
    		ok, _ := cmpReaders(r1, r2)
    		if ok {
    			t.Fatalf("unexpected")
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

            assertThat(ClassUtil.getPrimitiveClassIfWrapper(Byte.class), is(sameClass(byte.class)));
        }
    
        /**
         *
         */
        @Test
        public void testGetWrapperClass() {
            assertThat(ClassUtil.getWrapperClass(int.class), is(sameClass(Integer.class)));
            assertThat(ClassUtil.getWrapperClass(String.class), is(nullValue()));
            assertThat(ClassUtil.getWrapperClass(byte.class), is(sameClass(Byte.class)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MimeMap.java

         */
        public String getMimeType(final String extension, final String def) throws IOException {
            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    }
    
    // ReadByte reads and returns a single byte.
    // If no byte is available, returns an error.
    func (b *Reader) ReadByte() (byte, error) {
    	b.lastRuneSize = -1
    	for b.r == b.w {
    		if b.err != nil {
    			return 0, b.readErr()
    		}
    		b.fill() // buffer is empty
    	}
    	c := b.buf[b.r]
    	b.r++
    	b.lastByte = int(c)
    	return c, nil
    }
    
    // UnreadByte unreads the last byte. Only the most recently read byte can be unread.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbNegotiation.java

     *
     * @author mbechler
     */
    public final class SmbNegotiation {
    
        private final SmbNegotiationRequest request;
        private final SmbNegotiationResponse response;
        private final byte[] negoReqBuffer;
        private final byte[] negoRespBuffer;
    
        /**
         * Constructs an SMB negotiation result.
         *
         * @param request the negotiation request
         * @param response the negotiation response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SecurityBlob.java

     * kerberos authentication.
     *
     * @author Shun
     *
     */
    class SecurityBlob {
    
        private byte[] b = {};
    
        SecurityBlob() {
        }
    
        SecurityBlob(final byte[] b) {
            set(b);
        }
    
        void set(final byte[] b) {
            this.b = b == null ? new byte[0] : b;
        }
    
        byte[] get() {
            return this.b;
        }
    
        int length() {
            if (this.b == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    // For example,
    //
    //	"10000;chunk-signature=..." => "10000", "chunk-signature=..."
    func parseS3ChunkExtension(buf []byte) ([]byte, []byte) {
    	buf = trimTrailingWhitespace(buf)
    	semi := bytes.Index(buf, []byte(s3ChunkSignatureStr))
    	// Chunk signature not found, return the whole buffer.
    	if semi == -1 {
    		return buf, nil
    	}
    	return buf[:semi], parseChunkSignature(buf[semi:])
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top