Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 455 for res2 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/metrics-v3-system-network.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    
    	"github.com/minio/minio/internal/rest"
    )
    
    const (
    	internodeErrorsTotal      MetricName = "errors_total"
    	internodeDialErrorsTotal  MetricName = "dial_errors_total"
    	internodeDialAvgTimeNanos MetricName = "dial_avg_time_nanos"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. internal/http/close.go

    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  3. cmd/grid.go

    import (
    	"context"
    	"crypto/tls"
    	"sync/atomic"
    
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/grid"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    // globalGrid is the global grid manager.
    var globalGrid atomic.Pointer[grid.Manager]
    
    // globalLockGrid is the global lock grid manager.
    var globalLockGrid atomic.Pointer[grid.Manager]
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. docs/iam/access-manager-plugin.go

    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    		// All other users may not perform any `s3:Put*` operations.
    		res.Result = true
    		if strings.HasPrefix(actionValue, "s3:Put") {
    			res.Result = false
    		}
    	}
    	fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result)
    	json.NewEncoder(w).Encode(res)
    	return
    }
    
    func main() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. cmd/object-lambda-handlers_test.go

    					return obj
    				},
    			}
    			api.GetObjectLambdaHandler(rec, req)
    
    			res := rec.Result()
    			defer res.Body.Close()
    			respBody, _ := io.ReadAll(res.Body)
    
    			if res.StatusCode != expectStatus {
    				t.Errorf("Expected status %d, got %d", expectStatus, res.StatusCode)
    			}
    
    			if contentType != "" {
    				if ct := res.Header.Get("Content-Type"); ct != contentType {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_python_types/test_tutorial005.py

    from docs_src.python_types.tutorial005_py39 import get_items
    
    
    def test_get_items():
        res = get_items(
            "item_a",
            "item_b",
            "item_c",
            "item_d",
            "item_e",
        )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 271 bytes
    - Click Count (0)
  7. cmd/routers.go

    		lockGrid   = globalLockGrid.Load()
    		commonGrid = globalGrid.Load()
    	)
    
    	// Register storage REST router only if its a distributed setup.
    	registerStorageRESTHandlers(router, endpointServerPools, commonGrid)
    
    	// Register peer REST router only if its a distributed setup.
    	registerPeerRESTHandlers(router, commonGrid)
    
    	// Register bootstrap REST router for distributed setups.
    	registerBootstrapRESTHandlers(commonGrid)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 29 18:10:04 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  8. tests/scan_test.go

    	}
    
    	DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res)
    	if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2)
    	}
    
    	DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:57:36 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java

    /**
     * An abstract class that serves as a builder for creating and executing requests.
     *
     * @param <Req> the type of the request
     * @param <Res> the type of the response
     */
    public abstract class RequestBuilder<Req extends Request<Res>, Res extends Response> {
        /** The OpenSearch client. */
        protected Client client;
        /** The request being built. */
        protected Req request;
    
        /**
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmHttpFilterTest.java

                protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication)
                        throws IOException, ServletException {
                    if (skipAuthentication) {
                        return null;
                    }
                    return super.negotiate(req, resp, skipAuthentication);
                }
    
                @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top