Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 534 for reading_ (0.59 sec)

  1. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         *            The file channel. Must not be {@literal null}.
         * @param buffer
         *            The byte buffer. Must not be {@literal null}.
         * @param position
         *            The position to start reading from.
         * @return The number of bytes read.
         */
        public static int read(final FileChannel channel, final ByteBuffer buffer, final long position) {
            assertArgumentNotNull("channel", channel);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            final List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while (pos + 4 <= data.length) {
                final int avId = SMBUtil.readInt2(data, pos);
                final int avLen = SMBUtil.readInt2(data, pos + 2);
                pos += 4;
    
                if (avId == AvPair.MsvAvEOL) {
                    if (avLen != 0) {
                        throw new CIFSException("Invalid avLen for AvEOL");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[11,16] *}
    
    ## Dependencies for a group of *path operations* { #dependencies-for-a-group-of-path-operations }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test read string with odd Unicode alignment")
            void testReadStringUnicodeAlignment() {
                testBlock.setUseUnicode(true);
                // Test reading Unicode string with alignment
    
                byte[] buffer = new byte[100];
                // Write "Test" in UTF-16LE directly at position 2 (even offset)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWriteResponse.java

        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            count = readInt2(buffer, bufferIndex) & 0xFFFFL;
            return 8;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            if (this.isExtendedSecurity()) {
                final int blobLength = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                this.blob = new byte[blobLength];
            }
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.attributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EnumMultiset.java

       */
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. cmd/bitrot.go

    	if algo != HighwayHash256S {
    		h := algo.New()
    		if n, err := io.Copy(h, r); err != nil || n != wantSize {
    			// Premature failure in reading the object, file is corrupt.
    			return errFileCorrupt
    		}
    		if !bytes.Equal(h.Sum(nil), want) {
    			return errFileCorrupt
    		}
    		return nil
    	}
    
    	h := algo.New()
    	hashBuf := make([]byte, h.Size())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

            }
    
            final int ver = SMBUtil.readInt4(mic, 0);
            if (ver != 1) {
                throw new SmbUnsupportedOperationException("Invalid signature version");
            }
    
            final MessageDigest mac = Crypto.getHMACT64(sk);
            final int seq = SMBUtil.readInt4(mic, 12);
            mac.update(mic, 12, 4); // sequence
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top