Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 118 for tc (0.01 seconds)

  1. src/test/java/jcifs/internal/RequestTest.java

            private byte[] rawPayload;
            private boolean retainPayload = false;
            private int requestCredits = 1;
    
            @Override
            public TestResponse initResponse(CIFSContext tc) {
                this.response = new TestResponse();
                return this.response;
            }
    
            @Override
            public TestResponse getResponse() {
                return this.response;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. cmd/handler-api.go

    		pool := globalAPIConfig.getRequestsPool()
    		if pool == nil {
    			globalHTTPStats.addRequestsInQueue(-1)
    			f.ServeHTTP(w, r)
    			return
    		}
    
    		if tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    			tc.FuncName = "s3.MaxClients"
    		}
    
    		w.Header().Set("X-RateLimit-Limit", strconv.Itoa(cap(pool)))
    		w.Header().Set("X-RateLimit-Remaining", strconv.Itoa(cap(pool)-len(pool)))
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. internal/rest/client.go

    	if c.auth != nil {
    		req.Header.Set("Authorization", "Bearer "+c.auth())
    	}
    	req.Header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10))
    
    	if tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    		req.Header.Set(xhttp.AmzRequestID, tc.AmzReqID)
    	}
    
    	return req, nil
    }
    
    type respBodyMonitor struct {
    	io.ReadCloser
    	expectTimeouts  bool
    	errorStatusOnce sync.Once
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. internal/bucket/object/lock/lock_test.go

    			value:        "complIAnce",
    			expectedMode: RetCompliance,
    		},
    		{
    			value:        "gce",
    			expectedMode: "",
    		},
    	}
    
    	for _, tc := range testCases {
    		if parseRetMode(tc.value) != tc.expectedMode {
    			t.Errorf("Expected Mode %s, got %s", tc.expectedMode, parseRetMode(tc.value))
    		}
    	}
    }
    
    func TestParseLegalHoldStatus(t *testing.T) {
    	tests := []struct {
    		value          string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  5. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

            expect:
            (line =~ KillLeakingJavaProcesses.generateAllGradleProcessPattern()).find()
        }
    
        def "not matches TC agent JVM"() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 12 03:42:46 GMT 2024
    - 14.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            super(config, SMB2_CREATE);
            setPath(name);
        }
    
        @Override
        protected Smb2CreateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2CreateResponse> req) {
            return new Smb2CreateResponse(tc.getConfig(), this.name);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getPath()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  7. cmd/auth-handler.go

    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. cmd/metrics-v2.go

    	gatherers := prometheus.Gatherers{
    		registry,
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = funcName
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil && len(mfs) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

            } while (state != 0);
        }
    
        @SuppressWarnings("deprecation")
        private static boolean isExternalAuth(CIFSContext tc, NtlmPasswordAuthenticator npa) {
            return npa instanceof jcifs.smb.NtlmPasswordAuthentication && ((NtlmPasswordAuthentication) npa).areHashesExternal()
                    && tc.getConfig().getDefaultPassword() != null;
        }
    
        boolean logoff(boolean inError, boolean inUse) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. cmd/sts-handlers_test.go

    		c.mustListObjects(ctx, minioClient, bucket)
    
    		// Set up revocation
    		user := accessKey
    		tokenType := tc.tokenType
    		reqAdmClient := s.adm
    		if tc.fullRevoke {
    			tokenType = ""
    		}
    		if tc.selfRevoke {
    			user = ""
    			tokenType = ""
    			reqAdmClient, err = madmin.NewWithOptions(s.endpoint, &madmin.Options{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
Back to Top