Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 900 for READ (0.02 sec)

  1. src/main/java/jcifs/pac/ASN1Util.java

            final int ftag = in.read();
            final int tag = readTagNumber(in, ftag);
            if (tag != expectTag) {
                throw new IOException("Unexpected tag " + tag);
            }
            final int length = readLength(in, limit, false);
            final byte[] content = new byte[length];
            in.read(content);
            return content;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/general.md

    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Documentation Tags - OpenAPI { #documentation-tags-openapi }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
        }
    
        @Override
        public int read() throws SmbException {
            if (read(this.tmp, 0, 1) == -1) {
                return -1;
            }
            return this.tmp[0] & 0xFF;
        }
    
        @Override
        public int read(final byte b[]) throws SmbException {
            return read(b, 0, b.length);
        }
    
        @Override
        public int read(final byte b[], int off, int len) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineReader.java

          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
          lineBuf.add(buf, 0, read);
        }
        return lines.poll();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    			t.Fatalf("Impossible read specified: %d %d %d", skipLen, readLen, oSize)
    		}
    
    		var cumulativeSum, cumulativeEncSum int64
    		toRead := readLen
    		readStart := false
    		for i, v := range s {
    			partOffset := int64(0)
    			partDarePkgOffset := int64(0)
    			if !readStart && cumulativeSum+v > skipLen {
    				// Read starts at the current part
    				readStart = true
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/FileUtil.java

                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * Reads text from a file using the default encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int CAP_LEVEL_II_OPLOCKS = 0x0080;
        /** Lock and read capability */
        int CAP_LOCK_AND_READ = 0x0100;
        /** NT find capability */
        int CAP_NT_FIND = 0x0200;
        /** DFS capability */
        int CAP_DFS = 0x1000;
        /** Extended security capability */
        int CAP_EXTENDED_SECURITY = 0x80000000;
    
        // file attribute encoding
        /** Read-only file attribute */
        int ATTR_READONLY = 0x01;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        byte[] buf = new byte[100];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(-1, in.read()); // additional read
        assertEquals(4, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    
      public void testHash_hashesCorrectlyForSkipping() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        byte[] buf = new byte[100];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(-1, in.read()); // additional read
        assertEquals(4, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    
      public void testHash_hashesCorrectlyForSkipping() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                byte[] expectedFileId = createTestData(16);
                System.arraycopy(expectedFileId, 0, buffer, bufferIndex, 16);
    
                // Read the buffer
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
    
                // Verify the bytes read
                assertEquals(24, bytesRead);
    
                // Verify the fields were set correctly using reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top