- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 40 for desc2 (0.06 sec)
-
tests/query_test.go
} result = dryDB.Order("age desc, name").Find(&User{}) if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc, name").MatchString(result.Statement.SQL.String()) { t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String()) } result = dryDB.Order("age desc").Order("name").Find(&User{}) if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc,name").MatchString(result.Statement.SQL.String()) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
} for desc := range tests { test := tests[desc] t.Run(desc, func(t *testing.T) { ss, err := newTestStreamingServer(0) require.NoError(t, err) defer ss.testHTTPServer.Close() fw := newServerTestWithDebug(true, ss) defer fw.testHTTPServer.Close() fmt.Println(desc) podNamespace := "other" podName := "foo"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
} func TestSyncServiceExternalNameType(t *testing.T) { serviceName := "testing-1" namespace := metav1.NamespaceDefault testCases := []struct { desc string service *v1.Service }{ { desc: "External name with selector and ports should not receive endpoints", service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace}, Spec: v1.ServiceSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
return dswp, fakePodManager, fakePodStateProvider } func TestFindAndAddNewPods_WithDifferentConditions(t *testing.T) { tests := []struct { desc string hasAddedPods bool podState string expectedFound bool // Found pod is added to DSW }{ { desc: "HasAddedPods is false, ShouldPodRuntimeBeRemoved and ShouldPodContainerBeTerminating are both true", hasAddedPods: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
actual := []*cRecord{} for _, cStatus := range runtime.Containers { actual = append(actual, &cRecord{name: cStatus.Metadata.Name, attempt: cStatus.Metadata.Attempt, state: cStatus.State}) } sort.Sort(cRecordList(expected)) sort.Sort(cRecordList(actual)) assert.Equal(t, expected, actual, desc) } func TestNewKubeRuntimeManager(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
src/internal/trace/order.go
return curCtx, false, err } desc := stringID(0) if ev.typ == go122.EvSTWBegin { desc = stringID(ev.args[0]) } gState, ok := o.gStates[curCtx.G] if !ok { return curCtx, false, fmt.Errorf("encountered event of type %d without known state for current goroutine %d", ev.typ, curCtx.G) } if err := gState.beginRange(makeRangeType(ev.typ, desc)); err != nil { return curCtx, false, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
Name: name, Server: server, IsNotFound: true, } } cases := []struct { desc string resolveWhich func(quest dnsmessage.Question) resolveWhichEnum wantStrictErr error wantLaxErr error wantIPs []string }{ { desc: "No errors", resolveWhich: func(quest dnsmessage.Question) resolveWhichEnum { return resolveOK },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
} func TestServiceExternalNameTypeSync(t *testing.T) { serviceName := "testing-1" namespace := metav1.NamespaceDefault testCases := []struct { desc string service *v1.Service }{ { desc: "External name with selector and ports should not receive endpoint slices", service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
func TestCSIServiceAccountToken(t *testing.T) { driverName := "test-driver" gcp := "gcp" aws := "aws" notRequiresRepublish := false tests := []struct { desc string csiDriver *storage.CSIDriver wantErr bool }{{ desc: "invalid - TokenRequests has tokens with the same audience", csiDriver: &storage.CSIDriver{ ObjectMeta: metav1.ObjectMeta{Name: driverName}, Spec: storage.CSIDriverSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
@Override public ACE[] getSecurity ( boolean resolveSids ) throws IOException { try ( SmbTreeHandleImpl th = ensureTreeConnected() ) { SecurityDescriptor desc = querySecurity(th, SecurityInfo.DACL_SECURITY_INFO); ACE[] aces = desc.getAces(); if ( aces != null ) { processAces(aces, resolveSids); } return aces; } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (1)