Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 118 for tc (0.01 seconds)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

         * @throws GeneralSecurityException if a security error occurs during authentication
         */
        public SmbComSessionSetupAndX(final CIFSContext tc, final SmbComNegotiateResponse negotiated, final ServerMessageBlock andx,
                final Object cred) throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
            this.negotiated = negotiated;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. 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 any
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. 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)
  4. cmd/http-tracer.go

    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if !ok {
    			// Tracing is not enabled for this request
    			f.ServeHTTP(w, r)
    			return
    		}
    
    		tc.FuncName = getOpName(runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name())
    		tc.RequestRecorder.LogBody = logBody
    		tc.ResponseRecorder.LogAllBody = logBody
    		tc.ResponseRecorder.LogErrBody = true
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  5. callbacks/helper_test.go

    				Columns: []clause.Column{{Name: "active"}},
    				Values:  [][]interface{}{{true}},
    			},
    		},
    	}
    
    	for _, tc := range testCase {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input)
    			if !reflect.DeepEqual(actual, tc.expect) {
    				t.Errorf("expect %v got %v", tc.expect, actual)
    			}
    		})
    	}
    }
    
    func TestConvertSliceOfMapToValuesForCreate(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. 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)
  7. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Checks whether a connection can be reused for the given configuration.
         *
         * @param tc the CIFS context to check compatibility with
         * @param forceSigning whether signing is being forced
         * @return whether a connection can be reused for this config
         */
        boolean canReuse(CIFSContext tc, boolean forceSigning);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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    string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top