Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 479 for _offset (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // Initially, lastWriteTime is 0, so createTime should be just the offset.
            assertEquals(serverTimeZoneOffset, response.getCreateTime());
        }
    
        /**
         * Test of getLastWriteTime method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetLastWriteTime() {
            // Initially, lastWriteTime is 0, so it should return just the offset.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/loong64.s

    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 22 18:50:59 UTC 2023
    - 434 bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(0, buffer[13]);
                assertEquals((byte) 0xFF, buffer[9]); // Should not modify before offset
                assertEquals((byte) 0xFF, buffer[14]); // Should not modify after encoded data
            }
    
            @Test
            @DisplayName("Should handle offset in decode")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

                // For LM compatibility 3-5, only 16 bytes are used
                doAnswer(invocation -> {
                    byte[] dest = invocation.getArgument(2);
                    int offset = invocation.getArgument(3);
                    System.arraycopy(new byte[16], 0, dest, offset, 16);
                    return null;
                }).when(mockAuth).getUserSessionKey(eq(mockContext), eq(serverEncryptionKey), any(byte[].class), eq(0));
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
      int internalArrayStart() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements end.
       */
      int internalArrayEnd() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            return this.lastAccessTime;
        }
    
        @Override
        public long length() {
            return this.endOfFile;
        }
    
        /**
         * Gets the offset to the next entry.
         *
         * @return the next entry offset in bytes
         */
        public int getNextEntryOffset() {
            return this.nextEntryOffset;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/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)
  8. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        private int fileSize = 0;
    
        /**
         * Constructs a query information response.
         *
         * @param config the configuration
         * @param serverTimeZoneOffset the server time zone offset
         */
        public SmbComQueryInformationResponse(final Configuration config, final long serverTimeZoneOffset) {
            super(config, SMB_COM_QUERY_INFORMATION);
            this.serverTimeZoneOffset = serverTimeZoneOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77_HUFFMAN);
            assertArrayEquals(testData, decompressed);
        }
    
        @Test
        @DisplayName("Test compression with offset and length")
        public void testCompressionWithOffsetLength() throws CIFSException {
            byte[] paddedData = new byte[testData.length + 200];
            System.arraycopy(testData, 0, paddedData, 100, testData.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/request-files.md

    `UploadFile` โœ”๏ธ ๐Ÿ“„ `async` ๐Ÿ‘ฉโ€๐Ÿ”ฌ. ๐Ÿ‘ซ ๐ŸŒ ๐Ÿค™ ๐Ÿ”— ๐Ÿ“ ๐Ÿ‘ฉโ€๐Ÿ”ฌ ๐Ÿ”˜ (โš™๏ธ ๐Ÿ”— `SpooledTemporaryFile`).
    
    * `write(data)`: โœ `data` (`str` โš–๏ธ `bytes`) ๐Ÿ“.
    * `read(size)`: โœ `size` (`int`) ๐Ÿ”ข/๐Ÿฆน ๐Ÿ“.
    * `seek(offset)`: ๐Ÿšถ ๐Ÿ”ข ๐Ÿง˜ `offset` (`int`) ๐Ÿ“.
        * ๐Ÿคถ โ“‚., `await myfile.seek(0)` ๐Ÿ”œ ๐Ÿšถ โ–ถ๏ธ ๐Ÿ“.
        * ๐Ÿ‘‰ โœด๏ธ โš  ๐Ÿšฅ ๐Ÿ‘† ๐Ÿƒ `await myfile.read()` ๐Ÿ• & โคด๏ธ ๐Ÿ’ช โœ ๐ŸŽš ๐Ÿ”„.
    * `close()`: ๐Ÿ” ๐Ÿ“.
    
    ๐ŸŒ ๐Ÿ‘ซ ๐Ÿ‘ฉโ€๐Ÿ”ฌ `async` ๐Ÿ‘ฉโ€๐Ÿ”ฌ, ๐Ÿ‘† ๐Ÿ’ช "โŒ›" ๐Ÿ‘ซ.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top