- Sort Score
- Result 10 results
- Languages All
Results 1021 - 1030 of 1,523 for byte1 (0.05 sec)
-
internal/crypto/header_test.go
}, ShouldFail: false}, // 3 {Header: http.Header{ "X-Amz-Server-Side-Encryption": []string{"aws:kms"}, "X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": []string{"s3-007-293847485-724784"}, "X-Amz-Server-Side-Encryption-Context": []string{base64.StdEncoding.EncodeToString([]byte(`{"bucket": "some-bucket"}`))}, }, ShouldFail: false}, // 4
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 13 14:52:15 UTC 2022 - 21.4K bytes - Viewed (0) -
cmd/sftp-server.go
return authenticateSSHConnection(c, key, nil) } func sshPasswordAuth(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) { return authenticateSSHConnection(c, nil, pass) } func authenticateSSHConnection(c ssh.ConnMetadata, key ssh.PublicKey, pass []byte) (*ssh.Permissions, error) { user, found := strings.CutSuffix(c.User(), "=ldap") if found { if !globalIAMSys.LDAPConfig.Enabled() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
internal/disk/directio_unsupported.go
func DisableDirectIO(f *os.File) error { return nil } // AlignedBlock simply returns an unaligned buffer // for systems that do not support DirectIO. func AlignedBlock(blockSize int) []byte { return make([]byte, blockSize)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.6K bytes - Viewed (0) -
utils/utils.go
frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) || strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") { return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } } return "" } func IsValidDBNameChar(c rune) bool {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/store/store.go
// Store - Used to persist items. type Store[I any] interface { Put(item I) (Key, error) PutMultiple(item []I) (Key, error) Get(key Key) (I, error) GetMultiple(key Key) ([]I, error) GetRaw(key Key) ([]byte, error) PutRaw(b []byte) (Key, error) Len() int List() []Key Del(key Key) error Open() error Delete() error } // Key denotes the key present in the store. type Key struct { Name string Compress bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/metacache-walk.go
return toStorageErr(err) } return toStorageErr(st.Results(func(in []byte) error { _, err := wr.Write(in) return err })) } // WalkDirHandler - remote caller to list files and folders in a requested directory path. func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) { var opts WalkDirOptions _, err := opts.UnmarshalMsg(payload)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
func (sc *StorageClass) UnmarshalText(b []byte) error { scStr := string(b) if scStr == "" { return nil } s, err := parseStorageClass(scStr) if err != nil { return err } sc.Parity = s.Parity return nil } // MarshalText - marshals storage class string. func (sc *StorageClass) MarshalText() ([]byte, error) { if sc.Parity != 0 { return []byte(fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)), nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 12.3K bytes - Viewed (0) -
android/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) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
* @param buffer * @param bufferIndex * @param len * @throws IOException */ public FileNotifyInformationImpl ( byte[] buffer, int bufferIndex, int len ) throws IOException { decode(buffer, bufferIndex, len); } @Override public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { if (len == 0) { // nothing to do return 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 17 08:55:32 UTC 2018 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
return "NbtSocket[addr=" + address + ",port=" + super.getPort() + ",localport=" + super.getLocalPort() + "]"; } private void connect() throws IOException { byte[] buffer = new byte[BUFFER_SIZE]; int type; InputStream in; try { in = super.getInputStream(); OutputStream out = super.getOutputStream();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.8K bytes - Viewed (0)