- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,280 for Byte (0.04 sec)
-
internal/grid/stream.go
// If the request context is canceled, the stream will no longer process requests. // Requests sent cannot be used any further by the called. Requests chan<- []byte muxID uint64 ctx context.Context } // Send a payload to the remote server. func (s *Stream) Send(b []byte) error { if s.Requests == nil { return errors.New("stream does not accept requests") } select { case s.Requests <- b: return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmChallenge.java
import java.io.Serializable; import jcifs.smb1.UniAddress; import jcifs.smb1.util.Hexdump; public final class NtlmChallenge implements Serializable { public byte[] challenge; public UniAddress dc; NtlmChallenge( byte[] challenge, UniAddress dc ) { this.challenge = challenge; this.dc = dc; } public String toString() { return "NtlmChallenge[challenge=0x" +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
Namespace: "default", Name: "istiod", }, CABundle: []byte("ca"), }, }, { Name: fmt.Sprintf("object.%s", istioInjectionWebhookSuffix), ClientConfig: admitv1.WebhookClientConfig{ Service: &admitv1.ServiceReference{ Namespace: "default", Name: "istiod", }, CABundle: []byte("ca"), }, }, }, } samplePath = "/sample/path"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/erasure-encode.go
func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) { writer := &multiWriter{ writers: writers, writeQuorum: quorum, errs: make([]error, len(writers)), } for { var blocks [][]byte n, err := io.ReadFull(src, buf) if err != nil { if !IsErrIgnored(err, []error{ io.EOF,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Message.java
*/ boolean isRetainPayload (); /** * * @return the raw response message */ byte[] getRawPayload (); /** * @param rawPayload */ void setRawPayload ( byte[] rawPayload );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.2K bytes - Viewed (0) -
internal/store/queuestore.go
if err != nil { return err } return store.writeBytes(key, eventData) } // writeBytes - writes bytes to the directory. func (store *QueueStore[I]) writeBytes(key Key, b []byte) (err error) { path := filepath.Join(store.directory, key.String()) if key.Compress { err = os.WriteFile(path, s2.Encode(nil, b), os.FileMode(0o770)) } else { err = os.WriteFile(path, b, os.FileMode(0o770))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
*/ @GwtIncompatible // doesn't work public static byte[] toByteArray(char value) { return new byte[] {(byte) (value >> 8), (byte) value}; } /** * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/os-readdir_test.go
if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue") if err := os.WriteFile(file, []byte(""), 0o644); err != nil { t.Fatal(err) } defer os.RemoveAll(file) // Check if file is given. if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/PrimitivesTest.java
} public void testAllPrimitiveTypes() { Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); assertThat(primitives) .containsExactly( boolean.class, byte.class, char.class, double.class, float.class, int.class, long.class, short.class, void.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
internal/kms/kes.go
func (c *kesConn) ImportKey(ctx context.Context, keyID string, bytes []byte) error { return c.client.ImportKey(ctx, keyID, &kes.ImportKeyRequest{ Key: bytes, }) } // EncryptKey Encrypts and authenticates a (small) plaintext with the cryptographic key // The plaintext must not exceed 1 MB func (c *kesConn) EncryptKey(keyID string, plaintext []byte, ctx Context) ([]byte, error) { ctxBytes, err := ctx.MarshalText() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0)