- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 1,759 for interface (0.32 sec)
-
schema/relationship_test.go
package schema_test import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/schema" ) func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) { if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil { t.Errorf("Failed to parse schema, got error %v", err) } else { for _, rel := range relations { checkSchemaRelation(t, s, rel) } } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0) -
internal/s3select/json/preader.go
// and a number of workers based on GOMAXPROCS. // If an error is returned no goroutines have been started and r.err will have been set. func (r *PReader) startReaders() { r.bufferPool.New = func() interface{} { return make([]byte, jsonSplitSize+1024) } // Create queue r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0)) r.input = make(chan *queueItem, runtime.GOMAXPROCS(0)) r.readerWg.Add(1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/metrics-resource.go
Count uint64 } func init() { interval := fmt.Sprintf("%ds", int(resourceMetricsCollectionInterval.Seconds())) resourceMetricsHelpMap = map[MetricName]string{ interfaceRxBytes: "Bytes received on the interface in " + interval, interfaceRxErrors: "Receive errors in " + interval, interfaceTxBytes: "Bytes transmitted in " + interval, interfaceTxErrors: "Transmit errors in " + interval,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 23:30:33 UTC 2024 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
import java.util.List; import java.util.TimeZone; /** * * * Implementors of this interface should extend {@link jcifs.config.BaseConfiguration} or * {@link jcifs.config.DelegatingConfiguration} to get forward compatibility. * * @author mbechler * */ public interface Configuration { /** * * @return random source to use */ SecureRandom getRandom ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 18K bytes - Viewed (0) -
schema/schema_helper_test.go
}, r) } } checkEmbeddedRelations(t, relations.EmbeddedRelations, rs.EmbeddedRelations) }) } } func checkField(t *testing.T, s *schema.Schema, value reflect.Value, values map[string]interface{}) { for k, v := range values { t.Run("CheckField/"+k, func(t *testing.T) { fv, _ := s.FieldsByDBName[k].ValueOf(context.Background(), value) tests.AssertEqual(t, v, fv) }) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Dec 15 08:31:23 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/bucket-policy.go
} } // Add groups claim which could be a list. This will ensure that the claim // `jwt:groups` works. if grpsVal, ok := claims["groups"]; ok { if grpsIs, ok := grpsVal.([]interface{}); ok { grps := []string{} for _, gI := range grpsIs { if g, ok := gI.(string); ok { grps = append(grps, g) } } if len(grps) > 0 { args["groups"] = grps } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
common-protos/k8s.io/api/authentication/v1/generated.proto
// Error indicates that the token couldn't be checked // +optional optional string error = 3; } // UserInfo holds the information about the user needed to implement the // user.Info interface. message UserInfo { // The name that uniquely identifies this user among all active users. // +optional optional string username = 1;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ package jcifs; /** * Utility class holding several protocol constrants * * @author mbechler * * @internal */ @SuppressWarnings ( "javadoc" ) public interface SmbConstants { static final int DEFAULT_PORT = 445; static final int DEFAULT_MAX_MPX_COUNT = 10; static final int DEFAULT_RESPONSE_TIMEOUT = 30000; static final int DEFAULT_SO_TIMEOUT = 35000;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
cmd/sts-handlers.go
ldapAttribPrefix = "ldapAttrib_" // Role Claim key roleArnClaim = "roleArn" // maximum supported STS session policy size maxSTSSessionPolicySize = 2048 ) type stsClaims map[string]interface{} func (c stsClaims) populateSessionPolicy(form url.Values) error { if len(form) == 0 { return nil } sessionPolicyStr := form.Get(stsPolicy) if len(sessionPolicyStr) == 0 { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 33.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
if (index == -1) return null val nextTask = serialTaskQueue.removeAt(index) currentTask = nextTask contextSwitchCount++ nextTask.start() return nextTask } private interface SerialTask { /** Returns true if this task is ready to start. */ fun isReady() = true /** Do this task's work, and then start another, such as by calling [startNextTask]. */ fun start() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 12.6K bytes - Viewed (0)