Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 982 for ints (0.04 seconds)

  1. internal/hash/checksum.go

    	// Handle multipart checksums
    	if typ.Is(ChecksumMultipart) {
    		parts, n := binary.Uvarint(b)
    		if n <= 0 {
    			return nil
    		}
    		b = b[n:]
    
    		c.WantParts = int(parts)
    
    		if typ.Is(ChecksumIncludesMultipart) {
    			wantLen := int(parts) * length
    			if len(b) < wantLen {
    				return nil
    			}
    		}
    	}
    
    	if !c.Valid() {
    		return nil
    	}
    
    	return c
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

         * <p>
         * Using ClassWorld to determine plugin/extensions realm parent classloaders gives m2e and integration test harness
         * flexibility to load multiple version of maven into dedicated classloaders without assuming state of jvm system
         * classloader.
         */
        private static final ClassLoader PARENT_CLASSLOADER = ClassWorld.class.getClassLoader();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. tests/test_param_in_path_and_dependency.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def user_exists(user_id: int):
        return True
    
    
    @app.get("/users/{user_id}", dependencies=[Depends(user_exists)])
    async def read_users(user_id: int):
        pass
    
    
    client = TestClient(app)
    
    
    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  4. clause/values_test.go

    		{
    			[]clause.Interface{
    				clause.Insert{},
    				clause.Values{
    					Columns: []clause.Column{{Name: "name"}, {Name: "age"}},
    					Values:  [][]interface{}{{"jinzhu", 18}, {"josh", 1}},
    				},
    			},
    			"INSERT INTO `users` (`name`,`age`) VALUES (?,?),(?,?)",
    			[]interface{}{"jinzhu", 18, "josh", 1},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 691 bytes
    - Click Count (0)
  5. docs/resiliency/resiliency-initial-script.sh

    	# generate random nr of blocks
    	COUNT=$((RANDOM % 100 + 100))
    	# generate random content
    	dd if=/dev/urandom bs=50K count="${COUNT}" of="${SRC_DIR}"/file"$idx"
    done
    
    # create small object that will be inlined into xl.meta
    dd if=/dev/urandom bs=50K count=1 of="${INLINED_DIR}"/inlined
    
    if ./mc cp --quiet --recursive "${SRC_DIR}/" "${ALIAS_NAME}"/"${BUCKET}"/initial-data/; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_internal.h

    void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output,
                                               int num_shapes_and_types,
                                               const int64_t** shapes,
                                               const int* ranks,
                                               const TF_DataType* types,
                                               TF_Status* status);
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Click Count (0)
  7. cmd/endpoint-ellipses_test.go

    		})
    	}
    }
    
    func getHexSequences(start int, number int, paddinglen int) (seq []string) {
    	for i := start; i <= number; i++ {
    		if paddinglen == 0 {
    			seq = append(seq, fmt.Sprintf("%x", i))
    		} else {
    			seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dx", paddinglen), i))
    		}
    	}
    	return seq
    }
    
    func getSequences(start int, number int, paddinglen int) (seq []string) {
    	for i := start; i <= number; i++ {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/remote-repo/org/apache/maven/its/b/0.1/b-0.1.pom

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its</groupId>
      <artifactId>b</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: Dummy Artifact</name>
      <description>
    
      </description>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  9. docs_src/dependency_testing/tutorial001_py39.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. api/go1.1.txt

    pkg net, method (*IPConn) ReadMsgIP([]uint8, []uint8) (int, int, int, *IPAddr, error)
    pkg net, method (*IPConn) WriteMsgIP([]uint8, []uint8, *IPAddr) (int, int, error)
    pkg net, method (*UDPConn) ReadMsgUDP([]uint8, []uint8) (int, int, int, *UDPAddr, error)
    pkg net, method (*UDPConn) WriteMsgUDP([]uint8, []uint8, *UDPAddr) (int, int, error)
    pkg net, method (*UnixConn) CloseRead() error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top