Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for tc (0.01 sec)

  1. cmd/handler-utils.go

    		f.ServeHTTP(w, r)
    		globalHTTPStats.currentS3Requests.Dec(api)
    
    		tc, _ := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if tc != nil {
    			globalHTTPStats.updateStats(api, tc.ResponseRecorder)
    			globalConnStats.incS3InputBytes(int64(tc.RequestRecorder.Size()))
    			globalConnStats.incS3OutputBytes(int64(tc.ResponseRecorder.Size()))
    
    			if countBktStat {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

         *
         * @param tc the CIFS context containing configuration
         */
        public NameServiceClientImpl(final CIFSContext tc) {
            this(tc.getConfig().getNetbiosLocalPort(), tc.getConfig().getNetbiosLocalAddress(), tc);
        }
    
        NameServiceClientImpl(final int lport, final InetAddress laddr, final CIFSContext tc) {
            this.lport = lport;
            this.laddr = laddr;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/NetbiosAddress.java

         *
         * @param tc
         *            context to use
         * @return whether this address is in conflict with another address
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isInConflict(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address is active.
         *
         * @param tc
         *            context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmSsp.java

         */
        public NtlmPasswordAuthentication doAuthentication(final CIFSContext tc, final HttpServletRequest req, final HttpServletResponse resp,
                final byte[] challenge) throws IOException {
            return authenticate(tc, req, resp, challenge);
        }
    
        /**
         * Performs NTLM authentication for the servlet request.
         *
         * @param tc
         *            context to use
         *
         * @param req
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type1Message.java

         * environment.
         *
         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param tc
         *            context to use
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. 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) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false));
            assertTrue(ex.getMessage().contains("Server does not support kerberos authentication"));
            // No fallback attempted; config should not be queried in this path
            verify(tc, never()).getConfig();
            verifyNoInteractions(config);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. cmd/bucket-encryption_test.go

    		},
    	}
    
    	for i, tc := range testCases {
    		_, err := validateBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML)))
    		if tc.shouldPass && err != nil {
    			t.Fatalf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    			if err == nil || err != nil && err.Error() != tc.expectedErr.Error() {
    				t.Fatalf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err)
    			}
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 14 07:59:05 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top