Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 859 for 1bytes (0.05 sec)

  1. cmd/metrics-v3-system-network.go

    		"Average dial time of internode TCP calls in nanoseconds")
    	internodeSentBytesTotalMD = NewCounterMD(internodeSentBytesTotal,
    		"Total number of bytes sent to other peer nodes")
    	internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal,
    		"Total number of bytes received from other peer nodes")
    )
    
    // loadNetworkInternodeMetrics - reads internode network metrics.
    //
    // This is a `MetricsLoaderFn`.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/archive/zip/fuzz_test.go

    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    		r, err := NewReader(bytes.NewReader(b), int64(len(b)))
    		if err != nil {
    			return
    		}
    
    		type file struct {
    			header  *FileHeader
    			content []byte
    		}
    		files := []file{}
    
    		for _, f := range r.File {
    			fr, err := f.Open()
    			if err != nil {
    				continue
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long
            byte[] rawBytes = new byte[8];
            SMBUtil.writeInt8(expectedTimestamp, rawBytes, 0);
            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertEquals(expectedTimestamp, avTimestamp.getTimestamp());
        }
    
        /**
         * Test round-trip conversion: long -> bytes -> long.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Write version major (1 byte)
            buffer[bufferIndex++] = (byte) versionMajor;
    
            // Write version minor (1 byte)
            buffer[bufferIndex++] = (byte) versionMinor;
    
            // Write type (4 bytes)
            SMBUtil.writeInt4(serverType, buffer, bufferIndex);
            bufferIndex += 4;
    
            // Write comment offset (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Given
                byte[] buffer = new byte[60];
                int bufferIndex = 0;
    
                // Structure Size (2 bytes) - must be 60
                SMBUtil.writeInt2(60, buffer, bufferIndex);
                // Flags (2 bytes)
                SMBUtil.writeInt2(SMB2_CLOSE_FLAG_POSTQUERY_ATTIB, buffer, bufferIndex + 2);
                // Reserved (4 bytes)
                SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

          mutablePos += bytesWritten
          mutableByteCount -= bytesWritten
        }
      }
    
      /**
       * Copy [byteCount] bytes from the file at [pos] into `sink`. It is the
       * caller's responsibility to make sure there are sufficient bytes to read: if there aren't this
       * method throws an `EOFException`.
       */
      fun read(
        pos: Long,
        sink: Buffer,
        byteCount: Long,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java

        }
    
        /**
         * Gets the number of bytes written.
         *
         * @return the count of bytes written
         */
        public long getCount() {
            return this.count;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvPair.java

         */
        public static final int MsvAvChannelBindings = 0x0A;
    
        private final int type;
        private final byte[] raw;
    
        /**
         * Constructs an AV pair with type and raw data
         * @param type the AV pair type
         * @param raw the raw data bytes
         */
        public AvPair(final int type, final byte[] raw) {
            this.type = type;
            this.raw = raw;
        }
    
        /**
         * Gets the AV pair type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            if (this.compressionAlgorithms == null) {
                return 0;
            }
    
            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top