- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 303 for Cases (0.04 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go
} func TestMicroTimeMarshalYAML(t *testing.T) { cases := []struct { input MicroTime result string }{ {MicroTime{}, "t: null\n"}, {DateMicro(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05.000000Z\"\n"}, {DateMicro(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05.000000Z\"\n"}, } for _, c := range cases { input := MicroTimeHolder{c.input}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 11.1K bytes - Viewed (0) -
src/crypto/x509/oid_test.go
} for _, v := range oidTests { oid, ok := newOIDFromDER(v.raw) if !ok { continue } cases = append(cases, struct { in string out OID err error }{ in: v.str, out: oid, err: nil, }) } for _, tt := range cases { o, err := ParseOID(tt.in) if err != tt.err { t.Errorf("ParseOID(%q) = %v; want = %v", tt.in, err, tt.err) continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 10.8K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
} else if len(c.expectedConfName) > 0 { t.Fatalf("timed out waiting for expected %s", expectedFilepath) } else { // Successful test for test cases where CNI config file is never created return } } // Only for delayed cases select { case result := <-resultChan: if result != expectedFilepath { if len(expectedFilepath) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 15.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go
} return nil } func TestIntervalBufferIsFull(t *testing.T) { cases := []struct { endIndex int expected bool }{ {endIndex: bufferSize - 1, expected: false}, {endIndex: bufferSize, expected: true}, {endIndex: bufferSize + 1, expected: true}, } for _, c := range cases { wcib := &watchCacheIntervalBuffer{endIndex: c.endIndex} actual := wcib.isFull()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 11.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
} // Create the list of cases for all of the names in both upper and lowercase. cases := make([]protocolCase, 0, len(protocols)*2) for _, p := range protocols { name := p.name p.name = strings.ToLower(name) cases = append(cases, p) // Don't bother adding uppercase version for empty string. if name != "" { p.name = strings.ToUpper(name) cases = append(cases, p) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolTest.kt
import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolTestDirectives.DO_NOT_CHECK_SYMBOL_RESTORE import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolTestDirectives.DO_NOT_CHECK_SYMBOL_RESTORE_K1 import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolTestDirectives.DO_NOT_CHECK_SYMBOL_RESTORE_K2
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 18.2K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
}, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { input := &core.Metadata{} AppendLbEndpointMetadata(tt.metadata, input) if !reflect.DeepEqual(input, tt.want) { t.Errorf("Unexpected Endpoint metadata got %v, want %v", input, tt.want) } }) } } func TestByteCount(t *testing.T) { cases := []struct { in int out string }{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
schema/relationship.go
return } } } for idx, ownField := range ownForeignFields { joinFieldName := cases.Title(language.Und, cases.NoLower).String(schema.Name) + ownField.Name if len(joinForeignKeys) > idx { joinFieldName = cases.Title(language.Und, cases.NoLower).String(joinForeignKeys[idx]) } ownFieldsMap[joinFieldName] = ownField fieldsMap[joinFieldName] = ownField
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
continue } cases = append(cases, testCase{in: f.Name(), want: want}) } // Precompute injection settings. This may seem like a premature optimization, but due to the size of // YAMLs, with -race this was taking >10min in some cases to generate! if util.Refresh() { cleanupOldFiles(t) writeInjectionSettings(t, "default", nil, "") for i, c := range cases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
**replication** at the cluster level, with multiple **containers**. In those cases, you are better off **building an image from scratch** as described above: [Build a Docker Image for FastAPI](#build-a-docker-image-for-fastapi). This image would be useful mainly in the special cases described above in [Containers with Multiple Processes and Special Cases](#containers-with-multiple-processes-and-special-cases). For example, if your application is **simple enough** that setting a default...
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 34K bytes - Viewed (0)