- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 118 for tc (0.01 seconds)
-
cmd/site-replication_test.go
set.CreateStringSet(), set.CreateStringSet("dep1", "dep2", "dep3", "dep4"), []string{}, }, } for i, tc := range testCases { names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites) if len(names) != len(tc.expNames) { t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 2.2K bytes - Click Count (0) -
internal/logger/audit.go
headerBytes int64 ) tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { statusCode = tc.ResponseRecorder.StatusCode outputBytes = int64(tc.ResponseRecorder.Size()) headerBytes = int64(tc.ResponseRecorder.HeaderSize()) timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime) timeToFirstByte = tc.ResponseRecorder.TTFB() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java
super(config, SMB2_TREE_DISCONNECT); } @Override protected Smb2TreeDisconnectResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2TreeDisconnectResponse> req) { return new Smb2TreeDisconnectResponse(tc.getConfig()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
/** * {@inheritDoc} * * @see jcifs.internal.Request#initResponse(jcifs.CIFSContext) */ @Override public SmbComBlankResponse initResponse(final CIFSContext tc) { final SmbComBlankResponse resp = new SmbComBlankResponse(tc.getConfig()); setResponse(resp); return resp; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
* @param tc * context to use * @param auth * credentials * @param doSigning * whether signing is requested */ public NtlmContext(final CIFSContext tc, final NtlmPasswordAuthenticator auth, final boolean doSigning) { this.transportContext = tc; this.auth = auth;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
@Override public void storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession session) { org.apache.maven.api.Toolchain tc = getToolchainV4(toolchain); getDelegate().storeToolchainToBuildContext(session.getSession(), tc); } } private org.apache.maven.api.Toolchain getToolchainV4(ToolchainPrivate toolchain) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 31 10:58:52 GMT 2025 - 11K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
}, want: 0, lc: lc, }, } for i, tc := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := tc.lc.FilterRules(tc.opts); len(got) != tc.want { t.Fatalf("Expected %d rules to match but got %d", tc.want, len(got)) } w := httptest.NewRecorder() tc.lc.SetPredictionHeaders(w, tc.opts) expHdr, ok := w.Header()[xhttp.AmzExpiration] switch {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
internal/bucket/encryption/bucket-sse-config_test.go
} continue } if tc.keyID != "" && tc.keyID != ssec.KeyID() { t.Errorf("Test case %d: Expected bucket encryption KeyID %s but got %s", i+1, tc.keyID, ssec.KeyID()) } if expectedXML, err := xml.Marshal(tc.expectedConfig); err != nil || !bytes.Equal(expectedXML, []byte(tc.inputXML)) { t.Errorf("Test case %d: Expected bucket encryption XML %s but got %s", i+1, string(expectedXML), tc.inputXML) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 16 18:28:30 GMT 2022 - 6.1K bytes - Click Count (0) -
cmd/object-lambda-handlers_test.go
statusCode: 400, body: "bad-request", contentType: "application/xml", expectStatus: 400, }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { runObjectLambdaTest(t, tc.statusCode, tc.body, tc.contentType, tc.expectStatus) }) } } func runObjectLambdaTest(t *testing.T, lambdaStatus int, lambdaBody, contentType string, expectStatus int) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/config/dns/etcd_dns_test.go
{[]string{"example", "org."}, "example.org."}, // technically we should not be called like this. {[]string{"."}, "."}, } for i, tc := range tests { if x := dnsJoin(tc.in...); x != tc.out { t.Errorf("Test %d, expected %s, got %s", i, tc.out, x) } } } func TestPath(t *testing.T) { for _, path := range []string{"mydns", "skydns"} { result := msgPath("service.staging.skydns.local.", path)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 28 17:31:12 GMT 2025 - 2.7K bytes - Click Count (0)