- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 840 for TT (0.02 sec)
-
src/net/netip/netip_pkg_test.go
} } func doNextPrev(t testing.TB) { for _, tt := range nextPrevTests { gnext, gprev := tt.ip.Next(), tt.ip.Prev() if gnext != tt.next { t.Errorf("IP(%v).Next = %v; want %v", tt.ip, gnext, tt.next) } if gprev != tt.prev { t.Errorf("IP(%v).Prev = %v; want %v", tt.ip, gprev, tt.prev) } if !tt.ip.Next().isZero() && tt.ip.Next().Prev() != tt.ip {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 15:37:19 UTC 2023 - 9K bytes - Viewed (0) -
src/net/server_test.go
} func TestUDPServer(t *testing.T) { for i, tt := range udpServerTests { i, tt := i, tt t.Run(fmt.Sprint(i), func(t *testing.T) { if !testableListenArgs(tt.snet, tt.saddr, tt.taddr) { t.Skipf("skipping %s %s<-%s test", tt.snet, tt.saddr, tt.taddr) } t.Logf("%s %s<-%s", tt.snet, tt.saddr, tt.taddr) c1, err := ListenPacket(tt.snet, tt.saddr) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 11.7K bytes - Viewed (0) -
pkg/adsc/adsc_test.go
}, }, }, }, } for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) { base := t.TempDir() if err := tt.adsc.Save(base); (err == nil && tt.err != nil) || (err != nil && tt.err == nil) { t.Errorf("AdscSave() => %v expected err %v", err, tt.err) } if ldsTCP := readFile(base+"_lds_tcp.json", t); ldsTCP != tt.expectedJSON["_lds_tcp"] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 15.4K bytes - Viewed (0) -
src/cmd/fix/main_test.go
tt.Out = tt.In } if out != tt.Out { t.Errorf("incorrect output.\n") if !strings.HasPrefix(tt.Name, "testdata/") { t.Errorf("--- have\n%s\n--- want\n%s", out, tt.Out) } tdiff(t, "have", out, "want", tt.Out) return } if changed := out != tt.In; changed != fixed { t.Errorf("changed=%v != fixed=%v", changed, fixed) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 05:31:47 UTC 2024 - 3.8K bytes - Viewed (0) -
src/net/addrselect_test.go
}, reverse: false, }, } for i, tt := range tests { inCopy := make([]IPAddr, len(tt.in)) copy(inCopy, tt.in) srcCopy := make([]netip.Addr, len(tt.in)) copy(srcCopy, tt.srcs) sortByRFC6724withSrcs(inCopy, srcCopy) if !reflect.DeepEqual(inCopy, tt.want) { t.Errorf("test %d:\nin = %s\ngot: %s\nwant: %s\n", i, tt.in, inCopy, tt.want) } if tt.reverse { copy(inCopy, tt.in)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 05 07:16:00 UTC 2022 - 8.5K bytes - Viewed (0) -
pilot/pkg/model/credentials/resource_test.go
err: true, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { got, err := ParseResourceName(tt.resource, tt.defaultNamespace, "cluster", "config") if tt.err != (err != nil) { t.Fatalf("expected err=%v but got err=%v", tt.err, err) } if got != tt.expected { t.Fatalf("want %+v, got %+v", tt.expected, got) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 28 20:33:15 UTC 2023 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
* of <tt>0x001200A9</tt> which doesn't have the * <tt>FILE_WRITE_DATA</tt> bit on (bit <tt>0x00000002</tt>). Actually, this isn't quite correct. If * <tt>WNET\alice</tt> is in the local <tt>Administrators</tt> group the access check * will succeed because the inherited ACE allows local <tt>Administrators</tt> * both <tt>FILE_READ_DATA</tt> and <tt>FILE_WRITE_DATA</tt> access. * * @internal */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.4K bytes - Viewed (0) -
pilot/pkg/networking/core/tls_test.go
match: &v1alpha3.TLSMatchAttributes{}, namespace: "bar", }, true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := matchTLS(tt.args.match, tt.args.proxyLabels, tt.args.gateways, tt.args.port, tt.args.namespace); got != tt.want { t.Errorf("matchTLS() = %v, want %v", got, tt.want) } }) } } func TestMatchTCP(t *testing.T) { type args struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics_test.go
expectedLatencyCount: 5, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { m := &ConversionWebhookMetrics{ conversionWebhookRequest: tt.fields.conversionWebhookRequest, conversionWebhookLatency: tt.fields.conversionWebhookLatency, } m.ObserveConversionWebhookFailure(context.TODO(), tt.args.elapsed, tt.args.errorType)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 19:34:33 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/go/internal/modload/import_test.go
} if !regexp.MustCompile(tt.err).MatchString(err.Error()) { t.Fatalf("queryImport(_, %q): error %q, want error matching %#q", tt.path, err, tt.err) } } if m.Path != tt.m.Path || (tt.m.Version != "" && m.Version != tt.m.Version) { t.Errorf("queryImport(_, %q) = %v, _; want %v", tt.path, m, tt.m) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 20 15:29:06 UTC 2022 - 2.2K bytes - Viewed (0)