Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 517 for offsets (0.03 sec)

  1. cmd/httprange_test.go

    		}
    		o, l, err := rs.GetOffsetLength(resourceSize)
    		if err != nil {
    			t.Errorf("unexpected err: %v", err)
    		}
    		if o != testCase.expOffset || l != testCase.expLength {
    			t.Errorf("Case %d: got bad offset/length: %d,%d expected: %d,%d",
    				i, o, l, testCase.expOffset, testCase.expLength)
    		}
    	}
    
    	unparsableRangeSpecs := []string{
    		"bytes=-",
    		"bytes==",
    		"bytes==1-10",
    		"bytes=",
    		"bytes=aa",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            int n = next.writeParametersWireFormat(buf, 0);
            assertEquals(buf.length, n, "Parameter bytes written should match expected length");
            // informationLevel LE at offset 4..5
            assertEquals((byte) 0x04, buf[4]);
            assertEquals((byte) 0x01, buf[5]);
        }
    
        /**
         * Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. cmd/storage-interface.go

    	ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error)
    	AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error)
    	CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error
    	ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java

         */
        public int size() {
            return 0;
        }
    
        /**
         * Encode this request (no-op since there's no data)
         *
         * @param dst destination buffer
         * @param dstIndex starting offset
         * @return number of bytes written (always 0)
         */
        public int encode(byte[] dst, int dstIndex) {
            // No data to encode
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request_files.md

    * `write(data)`: escreve dados (`data`) em `str` ou `bytes` no arquivo.
    * `read(size)`: Lê um número de bytes/caracteres de acordo com a quantidade `size` (`int`).
    * `seek(offset)`: Navega para o byte na posição `offset` (`int`) do arquivo.
        * E.g., `await myfile.seek(0)` navegaria para o ínicio do arquivo.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                byte[] buffer = new byte[100];
                int offset = 40;
                ByteBuffer bb = ByteBuffer.wrap(buffer, offset, 24).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(5000L);
                bb.putLong(2500L);
                bb.putInt(16);
                bb.putInt(1024);
    
                // When
                int bytesConsumed = fileFsSizeInfo.decode(buffer, offset, 24);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        /**
         * Returns the page size.
         *
         * @return The page size.
         */
        public abstract int getPageSize();
    
        /**
         * Returns the offset.
         *
         * @return The offset.
         */
        public abstract int getOffset();
    
        /**
         * Returns the extra queries.
         *
         * @return The extra queries.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

            return this.file.ensureTreeConnected();
        }
    
        /**
         * Writes len bytes from the specified byte array starting at
         * offset off to this file output stream.
         *
         * @param b
         *            The array
         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @throws IOException
         *             if a network error occurs
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            Configuration cfg = mock(Configuration.class);
            return new Smb2SessionSetupResponse(cfg);
        }
    
        /**
         * Build a minimal SMB2 header for a response at the given offset.
         * The header is prepared as a synchronous response with server-to-redirector flag.
         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesTest.java

              private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
              @Override
              public boolean processBytes(byte[] buffer, int offset, int length) throws IOException {
                if (length >= 0) {
                  out.write(buffer, offset, length);
                }
                return true;
              }
    
              @Override
              public byte[] getResult() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top