- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,160 for Take (0.02 sec)
-
docs/en/docs/advanced/advanced-dependencies.md
But we want to be able to parameterize that fixed content. ## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
buildscripts/minio-upgrade.sh
wget -O /tmp/gopath/bin/docker-compose https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-linux-x86_64 chmod +x /tmp/gopath/bin/docker-compose cleanup TAG=minio/minio:dev make docker MINIO_VERSION=RELEASE.2019-12-19T22-52-26Z docker-compose \ -f "buildscripts/upgrade-tests/compose.yml" \ up -d --build add_alias mc mb minio/minio-test/Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Apr 21 16:24:31 UTC 2025 - 2.8K bytes - Viewed (0) -
callbacks/helper_test.go
func TestLoadOrStoreVisitMap(t *testing.T) { var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded { t.Fatalf("loaded should be false") } if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); !loaded {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/iam.go
// Map of LDAP user (internal representation) to list of active credential objects parentUserToCredsMap := make(map[string][]auth.Credentials) // DN to ldap username mapping for each LDAP user actualDNToLDAPUsernameMap := make(map[string]string) // External (actual) LDAP DN to internal normalized representation actualDNToParentUserMap := make(map[string]string) for _, cred := range allCreds {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
cmd/server-main.go
return fmt.Errorf("Unable to initialize sub-systems: %w", err) } } func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error { // %w is used by all error returns here to make sure // we wrap the underlying error, make sure when you // are modifying this code that you do so, if and when // you want to add extra context to your error. This // ensures top level retry works accordingly.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
cmd/background-newdisks-heal-ops_gen.go
if err != nil { err = msgp.WrapError(err, "QueuedBuckets") return } if cap(z.QueuedBuckets) >= int(zb0002) { z.QueuedBuckets = (z.QueuedBuckets)[:zb0002] } else { z.QueuedBuckets = make([]string, zb0002) } for za0001 := range z.QueuedBuckets { z.QueuedBuckets[za0001], err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "QueuedBuckets", za0001) return }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
} @Override public long getLastWriteTime() { return convertTime(this.lastWriteTime); } @Override public long getLastAccessTime() { // Fake access time return convertTime(this.lastWriteTime); } @Override public long getSize() { return this.fileSize; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
`swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly. FastAPI converts the configurations to **JSON** to make them compatible with JavaScript, as that's what Swagger UI needs. ## Disable Syntax Highlighting { #disable-syntax-highlighting } For example, you could disable syntax highlighting in Swagger UI.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
if err != nil { writeErrorResponse(w, err) return } var out bytes.Buffer json.Indent(&out, body, "", " ") fmt.Printf("Received JSON payload:\n%s\n", out.String()) reqMap := make(map[string]interface{}) err = json.Unmarshal(body, &reqMap) if err != nil { writeErrorResponse(w, err) return } m := reqMap["input"].(map[string]interface{}) accountValue := m["account"].(string)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
// Modify the original raw array raw[0] = 0x05; // Ensure the AvPair's internal raw array is not affected (defensive copy not made) // This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array. // If a defensive copy were made, this test would fail, and the behavior would be more robust.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)