- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for KEYS (0.01 sec)
-
cmd/xl-storage-meta-inline.go
if err != nil { return keys, err } if len(key) == 0 { return keys, fmt.Errorf("xlMetaInlineData: key %d is length 0", i) } keys = append(keys, string(key)) // Skip data... _, buf, err = msgp.ReadBytesZC(buf) if err != nil { return keys, err } } return keys, nil } // serialize will serialize the provided keys and values.Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
secureRandom.nextBytes(key); return key; } /** * Clear all stored keys */ public void clearAllKeys() { checkNotClosed(); log.info("Clearing all stored keys"); // Wipe all raw keys for (Map.Entry<String, byte[]> entry : rawKeys.entrySet()) { Arrays.fill(entry.getValue(), (byte) 0); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
throw new IllegalStateException("Cannot rotate keys on closed context"); } log.info("Rotating encryption keys for session: {}", sessionId); if (keyManager != null) { // Rotate keys in SecureKeyManager String encKeyId = sessionId + "-enc"; String decKeyId = sessionId + "-dec"; // Remove old keys keyManager.removeSessionKey(encKeyId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
You can also declare a body as a `dict` with keys of some type and values of some other type. This way, you don't have to know beforehand what the valid field/attribute names are (as would be the case with Pydantic models). This would be useful if you want to receive keys that you don't already know. --- Another useful case is when you want to have keys of another type (e.g., `int`).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
statement.go
for i, j := range v { conds = append(conds, clause.Eq{Column: i, Value: j}) } case map[string]string: keys := make([]string, 0, len(v)) for i := range v { keys = append(keys, i) } sort.Strings(keys) for _, key := range keys { column := clause.Column{Name: key, Table: curTable} if strings.Contains(key, ".") { column = clause.Column{Name: key} }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} assertEquals(5, keyManager.getKeyCount(), "Should have 5 keys"); keyManager.clearAllKeys(); assertEquals(0, keyManager.getKeyCount(), "Should have no keys after clear"); // Verify all keys are removed for (int i = 0; i < 5; i++) { assertFalse(keyManager.hasSessionKey("session-" + i), "Key should be removed"); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/admin-handlers-idp-openid.go
writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } for _, accessKey := range accessKeys { // Filter out any disqualifying access keys _, ok := accessKey.Claims[subClaim] if !ok { continue // OpenID access keys must have a sub claim } if (!listSTSKeys && !accessKey.IsServiceAccount()) || (!listServiceAccounts && accessKey.IsServiceAccount()) { continue // skip if not the type we want
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Sep 06 17:38:46 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
@Test @DisplayName("Should accept empty keys") void testEmptyKeys() { // Given byte[] emptyKey = new byte[0]; // When/Then assertDoesNotThrow(() -> { Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, emptyKey, emptyKey); assertNotNull(context, "Context should be created with empty keys"); }, "Should accept empty keys"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
cmd/signature-v2.go
var keys []string keyval := make(map[string]string, len(headers)) for key := range headers { lkey := strings.ToLower(key) if !strings.HasPrefix(lkey, "x-amz-") { continue } keys = append(keys, lkey) keyval[lkey] = strings.Join(headers[key], ",") } sort.Strings(keys) var canonicalHeaders []string for _, key := range keys {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0) -
cmd/postpolicyform.go
} ContentLengthRange contentLengthRange } } // implemented to ensure that duplicate keys in JSON // are merged together into a single JSON key, also // to remove any extraneous JSON bodies. // // Go stdlib doesn't support parsing JSON with duplicate // keys, so we need to use this technique to merge the // keys. func sanitizePolicy(r io.Reader) (io.Reader, error) { var buf bytes.Buffer e := json.NewEncoder(&buf)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.1K bytes - Viewed (0)