Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for helpers (5.39 sec)

  1. cmd/server_test.go

    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/Headers$Builder;-><init>()V
    HSPLokhttp3/Headers$Builder;->build()Lokhttp3/Headers;
    HSPLokhttp3/Headers$Builder;->removeAll(Ljava/lang/String;)Lokhttp3/Headers$Builder;
    HSPLokhttp3/Headers;-><init>([Ljava/lang/String;)V
    HSPLokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String;
    HSPLokhttp3/Headers;->name(I)Ljava/lang/String;
    HSPLokhttp3/Headers;->newBuilder()Lokhttp3/Headers$Builder;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			int64(testCase.dataLen), bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey, testCase.headers)
    		if err != nil {
    			t.Fatalf("Test %d: Failed to create HTTP request for Put Object: <ERROR> %v", i, err)
    		}
    		// Add test case specific headers to the request.
    		addCustomHeaders(req, testCase.headers)
    
    		// Inject faults if specified in testCase.fault
    		switch testCase.fault {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    University. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  5. fastapi/routing.py

                            if not is_body_allowed_for_status_code(response.status_code):
                                response.body = b""
                            response.headers.raw.extend(sub_response.headers.raw)
                if errors:
                    validation_error = RequestValidationError(
                        _normalize_errors(errors), body=body
                    )
                    raise validation_error
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		var synchronous bool
    		if tgt != nil {
    			synchronous = tgt.replicateSync
    		}
    		dsc.Set(newReplicateTargetDecision(tgtArn, replicate, synchronous))
    	}
    	return dsc
    }
    
    // Standard headers that needs to be extracted from User metadata.
    var standardHeaders = []string{
    	xhttp.ContentType,
    	xhttp.CacheControl,
    	xhttp.ContentEncoding,
    	xhttp.ContentLanguage,
    	xhttp.ContentDisposition,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    University. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 200.2K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/popper.min.js.map

    getScroll(element, 'left');\n  const modifier = subtract ? -1 : 1;\n  rect.top += scrollTop * modifier;\n  rect.bottom += scrollTop * modifier;\n  rect.left += scrollLeft * modifier;\n  rect.right += scrollLeft * modifier;\n  return rect;\n}\n","/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders -...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 121K bytes
    - Viewed (2)
  9. fastapi/applications.py

            ```python
            from fastapi import FastAPI, Response
    
            app = FastAPI()
    
            @app.head("/items/", status_code=204)
            def get_items_headers(response: Response):
                response.headers["X-Cat-Dog"] = "Alone in the world"
            ```
            """
            return self.router.head(
                path,
                response_model=response_model,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    //
    // This newer API now returns back status per remote peer and local regarding
    // if a "restart/stop" was successful or not. Service signal now supports
    // a dry-run that helps skip the nodes that may have hung drives. By default
    // restart/stop will ignore the servers that are hung on drives. You can use
    // 'force' param to force restart even with hung drives if needed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top