Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("readParametersWireFormat with offset should work correctly")
        void testReadParametersWireFormatWithOffset() {
            // Arrange
            byte[] buffer = new byte[20];
            int bufferIndex = 10;
    
            // Write data at offset
            SMBUtil.writeInt2(500, buffer, bufferIndex);
            SMBUtil.writeInt2(0, buffer, bufferIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K 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. 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)
  6. 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)
  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/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig.jsp

                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <div class="offset-sm-2 col-sm-10">
                                                <button type="submit" class="btn btn-primary" id="submit"
                                                        name="search"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

        val bodySource = response1.body.source()
        assertThat(bodySource.readUtf8()).isEqualTo("ABC.1")
    
        corruptor()
    
        return client.newCall(request).execute()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       *     positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top