Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,129 for dsbyte (0.05 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       */
      @GwtIncompatible // doesn't work
      public static byte[] toByteArray(short value) {
        return new byte[] {(byte) (value >> 8), (byte) value};
      }
    
      /**
       * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should return server GUID")
        void testGetServerGuid() throws Exception {
            // Given
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            setPrivateField(response, "serverGuid", guid);
    
            // When
            byte[] result = response.getServerGuid();
    
            // Then
            assertArrayEquals(guid, result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

        public long getFree() {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
        /**
         * {@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;
    
            // Read total allocation units.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            }
        }
    
        @Override
        protected int getBatchLimit(final Configuration cfg, final byte cmd) {
            return cmd == SMB_COM_READ_ANDX ? cfg.getBatchLimit("OpenAndX.ReadAndX") : 0;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.tflags, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top