Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,607 for writes (0.03 sec)

  1. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertEquals(e1.getOptions(), e2.getOptions(), "Options content should be equivalent across calls");
        }
    
        @Test
        @DisplayName("Options map is not mutated by configuration (verify no writes)")
        void optionsMap_notMutated_verifyNoWrites() {
            // Arrange: create a regular map first, then spy on it
            Map<String, Object> originalMap = new HashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.flags = 0x05;
            m.call_id = 0x123;
    
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
            m.encode(buf);
    
            // Reset to read what was written
            buf.setIndex(0);
    
            // Verify header was written correctly
            assertEquals(5, buf.dec_ndr_small()); // RPC version
            assertEquals(0, buf.dec_ndr_small()); // minor version
            assertEquals(0, buf.dec_ndr_small()); // ptype
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-files.md

    `UploadFile` has the following `async` methods. They all call the corresponding file methods underneath (using the internal `SpooledTemporaryFile`).
    
    * `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.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Fill buffer with non-zero values to ensure padding writes zeros
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) 0xFF;
            }
    
            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
            // Check that padding bytes are zeros
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Files.java

       * java.nio.file.Files#write(java.nio.file.Path, byte[], java.nio.file.OpenOption...)}.
       *
       * @param from the bytes to write
       * @param to the destination file
       * @throws IOException if an I/O error occurs
       */
      public static void write(byte[] from, File to) throws IOException {
        asByteSink(to).write(from);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. src/bytes/buffer.go

    	i := copy(b2, b)
    	return b2[:i]
    }
    
    // WriteTo writes data to w until the buffer is drained or an error occurs.
    // The return value n is the number of bytes written; it always fits into an
    // int, but it is int64 to match the [io.WriterTo] interface. Any error
    // encountered during the write is also returned.
    func (b *Buffer) WriteTo(w io.Writer) (n int64, err error) {
    	b.lastRead = opInvalid
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            return buffer[bufferIndex] & 0xFF;
        }
    
        int type, length;
    
        /**
         * Writes the packet to the specified byte array in wire format.
         *
         * @param dst the destination byte array to write to
         * @param dstIndex the starting index in the destination array
         * @return the number of bytes written
         */
        public int writeWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        /**
         * Implementation method for writing an XML node to a writer.
         *
         * @param node the XML node to write
         * @param writer the writer to write to
         * @throws IOException if there is an error writing the XML
         */
        protected abstract void doWrite(XmlNode node, Writer writer) throws IOException;
    
        /**
         * Implementation method for merging two XML nodes.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/builtin/builtin.go

    // The print built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    // Print is useful for bootstrapping and debugging; it is not guaranteed
    // to stay in the language.
    func print(args ...Type)
    
    // The println built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-process.go

    	processIOWCharBytesMD             = NewCounterMD(processIOWCharBytes, "Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar")
    	processIOWriteBytesMD             = NewCounterMD(processIOWriteBytes, "Total bytes written by the process to the underlying storage system, /proc/[pid]/io write_bytes")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top