Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 204 for rsadsi (0.4 sec)

  1. src/archive/tar/reader.go

    		tr.curr = &sparseFileReader{tr.curr, sph, 0}
    	}
    	return err
    }
    
    // readGNUSparsePAXHeaders checks the PAX headers for GNU sparse headers.
    // If they are found, then this function reads the sparse map and returns it.
    // This assumes that 0.0 headers have already been converted to 0.1 headers
    // by the PAX header parsing logic.
    func (tr *Reader) readGNUSparsePAXHeaders(hdr *Header) (sparseDatas, error) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * Reads setup data from wire format
         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
         */
        protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);
    
        /**
         * Reads parameters from wire format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

         */
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            // The method should return 0 as it reads no parameter words
            int result = smbComNegotiate.readParameterWordsWireFormat(buffer, bufferIndex);
            assertEquals(0, result, "readParameterWordsWireFormat should return 0.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        @MethodSource("int32Provider")
        @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset")
        void testReadParameterWords(int expectedInt, byte[] bytes) {
            // The implementation reads via SMBUtil.readInt4 which returns an int
            // When assigned to a long field, it gets sign-extended
            int readLen = response.readParameterWordsWireFormat(bytes, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            SMBUtil.writeInt2(bytesPerSect, buffer, offset);
            offset += 2;
    
            // Decode
            int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Verify - actual implementation reads 20 bytes (4 + 4 + 4 + 4 + 4)
            // bytesPerSect is read as Int2 but advances by 4 bytes (padding)
            assertEquals(20, bytesDecoded);
    
            // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/HashingInputStream.java

      }
    
      /**
       * Reads the next byte of data from the underlying input stream and updates the hasher with the
       * byte read.
       */
      @Override
      @CanIgnoreReturnValue
      public int read() throws IOException {
        int b = in.read();
        if (b != -1) {
          hasher.putByte((byte) b);
        }
        return b;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/slice.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ReaderUtil.java

                return new InputStreamReader(new FileInputStream(file), encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Reads a single line from the given {@link BufferedReader}.
         *
         * @param reader
         *            the {@link BufferedReader} (must not be {@literal null})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            readSize = file.tree.session.transport.rcv_buf_size - 70;
            writeSize = file.tree.session.transport.snd_buf_size - 70;
            fp = 0L;
        }
    
        /**
         * Reads a single byte from the file at the current file pointer position.
         *
         * @return the byte read as an integer (0-255), or -1 if end of file is reached
         * @throws SmbException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     * typically false on Windows.
     *
     * If this returns false we won't permit simultaneous reads and writes. When writes commit we need
     * to delete the previous snapshots, and that won't succeed if the file is open. (We do permit
     * multiple simultaneous reads.)
     *
     * @param file a file in the directory to check. This file shouldn't already exist!
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top