Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 3,007 for int8 (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(41, dst, dstIndex);
            dst[dstIndex + 2] = this.infoType;
            dst[dstIndex + 3] = this.fileInfoClass;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
            dstIndex += 4;
            final int inBufferOffsetOffset = dstIndex;
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32 + this.info.size());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

       * @since 14.0
       */
      public static CharSink asCharSink(File file, Charset charset, FileWriteMode... modes) {
        return asByteSink(file, modes).asCharSink(charset);
      }
    
      /**
       * Reads all bytes from a file into a byte array.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}.
       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedInteger.java

       * an unsigned {@code int} value in the specified radix.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int}
       *     value
       */
      public static UnsignedInteger valueOf(String string, int radix) {
        return fromIntBits(UnsignedInts.parseUnsignedInt(string, radix));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            response.wordCount = 0;
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, bytesRead);
        }
    
        /**
         * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testReadBytesWireFormat() {
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        private static final int DEFAULT_MAX_POOL_SIZE = 100;
        private static final int DEFAULT_MAX_IDLE_TIME = 300000; // 5 minutes in ms
        private static final int DEFAULT_HEALTH_CHECK_INTERVAL = 60000; // 1 minute in ms
        private static final int DEFAULT_PROACTIVE_CHECK_INTERVAL = 30000; // 30 seconds in ms
        private int maxPoolSize = DEFAULT_MAX_POOL_SIZE;
        private int maxIdleTime = DEFAULT_MAX_IDLE_TIME;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

         */
        @Override
        public int size() {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            for (final Smb2Lock l : this.locks) {
                size += l.size();
            }
            return size8(size);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComCreateDirectory.java

            super(config, SMB_COM_CREATE_DIRECTORY, directoryName);
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
            this.type = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top