- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,212 for Strict (0.08 sec)
-
callbacks/preload.go
if embeddedRelations == nil { return nil } names := make([]string, 0, len(embeddedRelations.Relations)+len(embeddedRelations.EmbeddedRelations)) for _, relation := range embeddedRelations.Relations { // skip first struct name names = append(names, strings.Join(relation.Field.EmbeddedBindNames[1:], ".")) } for _, relations := range embeddedRelations.EmbeddedRelations { names = append(names, embeddedValues(relations)...) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 11.6K bytes - Viewed (0) -
tests/joins_test.go
}) } func TestJoinsPreload_Issue7013_RelationEmpty(t *testing.T) { type ( Furniture struct { gorm.Model OwnerID *uint } Owner struct { gorm.Model Furnitures []Furniture CompanyID *uint Company Company } Building struct { gorm.Model Name string OwnerID *uint Owner Owner } )
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0) -
cmd/encryption-v1_test.go
"github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio/internal/crypto" xhttp "github.com/minio/minio/internal/http" "github.com/minio/sio" ) var encryptRequestTests = []struct { header map[string]string metadata map[string]string }{ { header: map[string]string{ xhttp.AmzServerSideEncryptionCustomerAlgorithm: "AES256",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
type WaitGroup struct { count int32 done chan struct{} } func NewWaitGroup() *WaitGroup { return &WaitGroup{ done: make(chan struct{}), } } func NewWaitForNCalls(t *testing.T, n int32) (*WaitGroup, func()) { wg := &WaitGroup{ done: make(chan struct{}), } wg.Add(n) return wg, func() { select {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 18.7K bytes - Viewed (0) -
cni/pkg/iptables/nldeps.go
DelInpodMarkIPRule(cfg *Config) error AddLoopbackRoutes(cfg *Config) error DelLoopbackRoutes(cfg *Config) error } func RealNlDeps() NetlinkDependencies { return &realDeps{} } type realDeps struct{} func (r *realDeps) AddInpodMarkIPRule(cfg *Config) error { return AddInpodMarkIPRule(cfg) } func (r *realDeps) DelInpodMarkIPRule(cfg *Config) error { return DelInpodMarkIPRule(cfg) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/data-usage-cache_test.go
package cmd import ( "fmt" "testing" "github.com/dustin/go-humanize" ) func TestSizeHistogramToMap(t *testing.T) { tests := []struct { sizes []int64 want map[string]uint64 }{ { sizes: []int64{100, 1000, 72_000, 100_000}, want: map[string]uint64{ "LESS_THAN_1024_B": 2, "BETWEEN_64_KB_AND_256_KB": 2,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:51:08 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/service.go
globalServiceFreezeMu.Lock() // Close when we reach 0 globalServiceFreezeCnt-- if globalServiceFreezeCnt <= 0 { // Set to a nil channel. var _ch chan struct{} if val := globalServiceFreeze.Swap(_ch); val != nil { if ch, ok := val.(chan struct{}); ok && ch != nil { // Close previous non-nil channel. xioutil.SafeClose(ch) } } globalServiceFreezeCnt = 0 // Don't risk going negative. }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
import ( "encoding/xml" "errors" "fmt" "net/http" "reflect" "strings" "testing" "time" xhttp "github.com/minio/minio/internal/http" ) func TestParseMode(t *testing.T) { testCases := []struct { value string expectedMode RetMode }{ { value: "governance", expectedMode: RetGovernance, }, { value: "complIAnce", expectedMode: RetCompliance, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// E.g. it could know whether we're in eager mode or graph mode, keeps track // of gradient tapes, etc. typedef struct TF_ExecutionContext TF_ExecutionContext; // A TF_AbstractTensor is an input to an operation. E.g. it could be a union // type of eager and graph tensors. It is also the result of executing an // operation. typedef struct TF_AbstractTensor TF_AbstractTensor; // A TF_AbstractOp is the metadata we need to execute an operation. E.g. this
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
internal/http/listener.go
package http import ( "context" "fmt" "net" "syscall" "time" ) type acceptResult struct { conn net.Conn err error lidx int } // httpListener - HTTP listener capable of handling multiple server addresses. type httpListener struct { opts TCPOptions listeners []net.Listener // underlying TCP listeners.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5.6K bytes - Viewed (0)