- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,280 for Byte (0.03 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("0.1 kB", format.format(_50_bytes, ScaleUnit.KILOBYTE)); assertEquals("0 MB", format.format(_50_bytes, ScaleUnit.MEGABYTE)); assertEquals("0 GB", format.format(_50_bytes, ScaleUnit.GIGABYTE)); long _999_bytes = 999L; assertEquals("999 B", format.format(_999_bytes)); assertEquals("999 B", format.format(_999_bytes, ScaleUnit.BYTE));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13K bytes - Viewed (0) -
internal/grid/muxserver.go
if debugPrint { fmt.Println("connected stream mux:", ack.MuxID) } }() // Data inbound to the handler var handlerIn chan []byte if inboundCap > 0 { m.inbound = make(chan []byte, inboundCap) handlerIn = make(chan []byte, 1) go func(inbound chan []byte) { wg.Wait() defer xioutil.SafeClose(handlerIn) m.handleInbound(c, inbound, handlerIn) }(m.inbound) } // Fill outbound block.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertByteArrayEquals( new byte[] { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 }, Longs.toByteArray(0xFFEEDDCCBBAA9988L)); } public void testFromByteArray() { assertThat( Longs.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x33}))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/PrimitiveSink.java
public interface PrimitiveSink { /** * Puts a byte into this sink. * * @param b a byte * @return this instance */ @CanIgnoreReturnValue PrimitiveSink putByte(byte b); /** * Puts an array of bytes into this sink. * * @param bytes a byte array * @return this instance */ @CanIgnoreReturnValue PrimitiveSink putBytes(byte[] bytes); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.9K bytes - Viewed (0) -
src/bytes/reader_test.go
r := NewReader([]byte(data)) if got, want := r.Len(), 11; got != want { t.Errorf("r.Len(): got %d, want %d", got, want) } if n, err := r.Read(make([]byte, 10)); err != nil || n != 10 { t.Errorf("Read failed: read %d %v", n, err) } if got, want := r.Len(), 1; got != want { t.Errorf("r.Len(): got %d, want %d", got, want) } if n, err := r.Read(make([]byte, 1)); err != nil || n != 1 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
* */ public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId { private byte[] fileId; /** * @param config * @param fileId */ public Smb2FlushRequest ( Configuration config, byte[] fileId ) { super(config, SMB2_FLUSH); this.fileId = fileId; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testRead_withProcessor() throws IOException { final byte[] processedBytes = new byte[bytes.length]; ByteProcessor<byte[]> processor = new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
*/ @Override public void getUserSessionKey ( CIFSContext tc, byte[] chlng, byte[] dest, int offset ) throws SmbException { if ( this.hashesExternal ) { return; } super.getUserSessionKey(tc, chlng, dest, offset); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
// maxDataCount = 4096; why was this set? maxSetupCount = (byte)0x00; setupCount = 0; timeout = 5000; } int writeSetupWireFormat( byte[] dst, int dstIndex ) { return 0; } int writeParametersWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; byte[] descr; try { descr = DESCR.getBytes( "ASCII" );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
maxDataCount = 0xFFFF; maxSetupCount = (byte)0x00; setupCount = 2; name = "\\PIPE\\"; } int writeSetupWireFormat( byte[] dst, int dstIndex ) { dst[dstIndex++] = subCommand; dst[dstIndex++] = (byte)0x00; writeInt2( pipeFid, dst, dstIndex ); dstIndex += 2; return 4; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.5K bytes - Viewed (0)