Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,693 for byte2 (0.02 sec)

  1. src/main/java/org/codelibs/core/net/UuidUtil.java

     *
     * @author higa
     */
    public abstract class UuidUtil {
    
        /**
         * Do not instantiate.
         */
        protected UuidUtil() {
        }
    
        private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 };
    
        private static final SecureRandom RANDOM = new SecureRandom();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       * in <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11 with the fact that the
       * encoding of each part occupies at least two bytes (dot plus label externally, length byte plus
       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(enc.encryptMessage(any(byte[].class), eq(99L))).thenReturn(new byte[] { 9, 9 });
            when(enc.decryptMessage(any(byte[].class))).thenReturn(new byte[] { 7, 7 });
    
            assertTrue(session.isEncryptionEnabled());
            assertSame(enc, session.getEncryptionContext());
    
            byte[] encOut = session.encryptMessage(new byte[] { 1, 2, 3 });
            assertArrayEquals(new byte[] { 9, 9 }, encOut);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

         */
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        private byte[] fileId;
    
        /**
         * Constructs an SMB2 flush request
         * @param config the client configuration
         * @param fileId the file identifier to flush
         */
        public Smb2FlushRequest(final Configuration config, final byte[] fileId) {
            super(config, SMB2_FLUSH);
            this.fileId = fileId;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

            command = SMB_COM_QUERY_INFORMATION;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
            return dstIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

    /**
     * SMB2 Lock request message. This command is used to request byte-range locks
     * on portions of a file.
     *
     * @author mbechler
     *
     */
    public class Smb2LockRequest extends ServerMessageBlock2Request<Smb2LockResponse> implements RequestWithFileId {
    
        private int lockSequenceNumber;
        private int lockSequenceIndex;
        private byte[] fileId;
        private final Smb2Lock[] locks;
    
        /**
    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/netbios/NodeStatusRequest.java

        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            final int tmp = this.questionName.hexCode;
            this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
            final int result = writeQuestionSectionWireFormat(dst, dstIndex);
            this.questionName.hexCode = tmp;
            return result;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent.");
        }
    
        @Test
        void testConstructor_overflowValue() {
            // Test with a value exceeding byte range, expecting it to be masked
            NdrSmall ndrSmall = new NdrSmall(256); // 256 & 0xFF = 0
            assertEquals(0, ndrSmall.value, "Value exceeding byte range should be masked.");
    
            ndrSmall = new NdrSmall(511); // 511 & 0xFF = 255
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top