Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,596 for writeTo (0.06 sec)

  1. api/go1.1.txt

    pkg bufio, func ScanWords([]uint8, bool) (int, []uint8, error)
    pkg bufio, method (*Reader) WriteTo(io.Writer) (int64, error)
    pkg bufio, method (*Scanner) Bytes() []uint8
    pkg bufio, method (*Scanner) Err() error
    pkg bufio, method (*Scanner) Scan() bool
    pkg bufio, method (*Scanner) Split(SplitFunc)
    pkg bufio, method (*Scanner) Text() string
    pkg bufio, method (*Writer) ReadFrom(io.Reader) (int64, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val inflater = MessageInflater(false)
        val buffer = fragmentBuffer(Buffer().write("f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()))
        inflater.inflate(buffer)
        assertThat(buffer.readUtf8()).isEqualTo("Hello inflation!")
      }
    
      private fun MessageDeflater.deflate(byteString: ByteString): ByteString {
        val buffer = Buffer()
        buffer.write(byteString)
        deflate(buffer)
        return buffer.readByteString()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb.compression;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertDoesNotThrow(() -> request.setRemainingBytes(1024));
                assertDoesNotThrow(() -> request.setRemainingBytes(Integer.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set write flags")
            void testSetWriteFlags() {
                assertDoesNotThrow(() -> request.setWriteFlags(0));
                assertDoesNotThrow(() -> request.setWriteFlags(0x01));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            }
          }
    
          override fun toDer(
            writer: DerWriter,
            value: Long,
          ) {
            // [1950-01-01T00:00:00..2050-01-01T00:00:00Z)
            if (value in -631_152_000_000L until 2_524_608_000_000L) {
              Adapters.UTC_TIME.toDer(writer, value)
            } else {
              Adapters.GENERALIZED_TIME.toDer(writer, value)
            }
          }
        }
    
      /**
       * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

        /**
         * Permission to write data to the file.
         */
        int FILE_WRITE_DATA = 0x00000002; // 2
        /**
         * Permission to append data to the file.
         */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /**
         * Permission to read extended attributes.
         */
        int FILE_READ_EA = 0x00000008; // 4
        /**
         * Permission to write extended attributes.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    			}
    			if err := saveFormatErasure(storageDisks[index], format, formatOpID); err != nil {
    				healingLogIf(ctx, fmt.Errorf("Drive %s failed to write updated 'format.json': %v", storageDisks[index], err))
    				storageDisks[index].Close()
    				tmpNewFormats[index] = nil // this disk failed to write new format
    			}
    		}
    
    		s.erasureDisksMu.Lock()
    
    		for index, format := range tmpNewFormats {
    			if format == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Write in little-endian format as specified by MS-SMB2
            bb.putInt(data1); // data1 (4 bytes, little-endian)
            bb.putShort(data2); // data2 (2 bytes, little-endian)
            bb.putShort(data3); // data3 (2 bytes, little-endian)
    
            // Last 8 bytes (data4) written directly as big-endian bytes
            // Extract individual bytes from leastSig and write them directly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	dataUsageCacheVerV2      = 2
    	dataUsageCacheVerV1      = 1
    )
    
    // serialize the contents of the cache.
    func (d *dataUsageCache) serializeTo(dst io.Writer) error {
    	// Add version and compress.
    	_, err := dst.Write([]byte{dataUsageCacheVerCurrent})
    	if err != nil {
    		return err
    	}
    	enc, err := zstd.NewWriter(dst,
    		zstd.WithEncoderLevel(zstd.SpeedFastest),
    		zstd.WithWindowSize(1<<20),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.io;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Write response message.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top