Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for tc (0.01 sec)

  1. cmd/generic-handlers.go

    			if r.Method == http.MethodHead {
    				if ok {
    					tc.FuncName = "handler.ValidRequest"
    					tc.ResponseRecorder.LogErrBody = false
    				}
    
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    				writeErrorResponseHeadersOnly(w, errorCodes.ToAPIErr(ErrInsecureSSECustomerRequest))
    			} else {
    				if ok {
    					tc.FuncName = "handler.ValidRequest"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  2. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         * @param url the DCERPC URL specifying the endpoint
         * @param tc the CIFS context for connection configuration
         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

         *            whether to use an exclusive connection for this pipe
         * @param tc the CIFS context to use
         * @throws MalformedURLException if the URL is not properly formatted
         */
    
        public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException {
            super(url, tc);
            this.pipeType = pipeType;
            setNonPooled(unshared);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    	// Add tracing to the prom. handler
    	tracedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsV3"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		innerHandler.ServeHTTP(w, r)
    	})
    
    	// Add authentication
    	h.auth(tracedHandler).ServeHTTP(w, r)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top