- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 122 for tc (0.01 seconds)
-
cmd/object-handlers-common_test.go
actualFlag := checkPreconditions(t.Context(), recorder, request, tc.objInfo, ObjectOptions{}) if tc.expectedFlag != actualFlag { t.Errorf("test: %s, got flag: %v, want: %v", tc.name, actualFlag, tc.expectedFlag) } if tc.expectedCode != recorder.Code { t.Errorf("test: %s, got code: %d, want: %d", tc.name, recorder.Code, tc.expectedCode) } }) } testCases = []struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/Handler.java
*/ public Handler() { } /** * Constructs an SMB URL handler with the specified CIFS context. * * @param tc the CIFS context to use */ public Handler(final CIFSContext tc) { this.transportContext = tc; } @Override protected int getDefaultPort() { return SmbConstants.DEFAULT_PORT; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
* @param tc * Context to use * @throws IOException if there is an error resolving the SID */ public void resolve(final String authorityServerName, final CIFSContext tc) throws IOException { final SID[] sids = new SID[1]; sids[0] = this; tc.getSIDResolver().resolveSids(tc, authorityServerName, sids); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class); lenient().when(tC.acquire()).thenReturn(tC); lenient().when(tC.getTreeId()).thenReturn(treeId + 1); lenient().when(tC.isConnected()).thenReturn(true); SmbFileHandleImpl hC = id2 != null ? new SmbFileHandleImpl(cfg, id2, tC, "//eq/c", 0, 0, 0, 0, 0L) : new SmbFileHandleImpl(cfg, 33, tC, "//eq/c", 0, 0, 0, 0, 0L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
/** * Create a copy of the credentials. * @return a copy of the credentials */ CredentialsInternal clone(); /** * Create an SSP context for authentication. * @param tc the CIFS context * @param targetDomain the target domain for authentication * @param host the target host * @param initialToken initial authentication token, if anyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} if ((!foundKerberos || this.forceFallback) && this.canFallback && tc.getConfig().isAllowNTLMFallback()) { log.debug("Falling back to NTLM authentication"); return super.createContext(tc, targetDomain, host, initialToken, doSigning); } if (!foundKerberos) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/Address.java
/** * Guess next called name to try for session establishment. These * methods are used by the smb package. * * @param tc the transport context to use for name resolution * * @return guessed name */ String nextCalledName(CIFSContext tc);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/DfsResolver.java
/** * Add a referral to the cache * * @param path the DFS path for this referral * @param dr the DFS referral data to cache * @param tc the CIFS context containing configuration */ void cache(CIFSContext tc, String path, DfsReferralData dr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} final Set<FileEntry> set = new HashSet<>(); if (tc.getDfs().isTrustedDomain(tc, locator.getServer())) { /* * The server name is actually the name of a trusted * domain. Add DFS roots to the list. */ try { entries = doDfsRootEnum(tc, locator, locator.getAddress()); for (final FileEntry e : entries) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration_test.go
expectedErr: errLifecycleDateNotMidnight, }, } for i, tc := range testCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { var expiration Expiration err := xml.Unmarshal([]byte(tc.inputXML), &expiration) if err != tc.expectedErr { t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err) } }) } validationTestCases := []struct { inputXML stringCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K bytes - Click Count (0)