Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 491 for Offset (0.14 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            return this.action;
        }
    
        @Override
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * Gets the offset to the next entry.
         *
         * @return the next entry offset in bytes
         */
        public int getNextEntryOffset() {
            return this.nextEntryOffset;
        }
    
        /**
         * Constructs a file notify information from the given buffer.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertEquals(0, used, "readBytesWireFormat is unimplemented and must return 0");
        }
    
        private static byte[] subArray(byte[] src, int offset, int length) {
            byte[] dst = new byte[length];
            System.arraycopy(src, offset, dst, 0, length);
            return dst;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            data[18] = 0;
            data[19] = 0; // remark offset
    
            // Entry 2: IPC$, type 3 (IPC), remark "Inter-Process Communication"
            System.arraycopy("IPC$".getBytes(StandardCharsets.US_ASCII), 0, data, 20, 4);
            data[34] = 0x03;
            data[35] = 0x00; // type = 3
            data[36] = 60;
            data[37] = 0;
            data[38] = 0;
            data[39] = 0; // remark offset
    
            // Remarks data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         *
         * @param value the content to append
         * @param offset the index of the first {@code char} to append
         * @param len the number of {@code char}s to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(char[] value, int offset, int len) {
            return append(String.valueOf(value, offset, len));
        }
    
        /**
         * Append content to the message buffer.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        for (Multiset.Entry<E> entry : entrySet()) {
          Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement());
          offset += entry.getCount();
        }
        return offset;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

          .optionalStart()
          .appendFraction(NANO_OF_SECOND, 3, 3, true)
          .toFormatter()
    
      private val offset = ZoneOffset.systemDefault()
    
      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (1)
  7. cmd/streaming-signature-v4.go

    				fmt.Println("Read err:", err)
    			}
    		}
    	}()
    	// First, if there is any unread data, copy it to the client
    	// provided buffer.
    	if cr.offset > 0 {
    		n = copy(buf, cr.buffer[cr.offset:])
    		if n == len(buf) {
    			cr.offset += n
    			return n, nil
    		}
    		cr.offset = 0
    		buf = buf[n:]
    	}
    
    	var size int
    	for {
    		b, err := cr.reader.ReadByte()
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            byte[] buffer = new byte[50];
    
            // Test with offset at beginning
            System.arraycopy(sourceData, 0, buffer, 0, sourceData.length);
            int result1 = response.readDataWireFormat(buffer, 0, sourceData.length);
            assertEquals(sourceData.length, result1);
    
            // Test with offset in middle
            byte[] outputBuffer2 = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-files.md

    * `write(data)`: Writes `data` (`str` or `bytes`) to the file.
    * `read(size)`: Reads `size` (`int`) bytes/characters of the file.
    * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
        * E.g., `await myfile.seek(0)` would go to the start of the file.
        * This is especially useful if you run `await myfile.read()` once and then need to read the contents again.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-files.md

    * `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo.
    * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo.
    * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo.
        * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo.
        * Isso é especialmente útil se você executar `await myfile.read()` uma vez e precisar ler o conteúdo novamente.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top