Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for checkZip (0.2 sec)

  1. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    // encounters an error reading the zip file.
    //
    // Note that CheckZip does not read individual files, so [Unzip] may still fail
    // when CheckZip is successful due to I/O errors.
    func CheckZip(m module.Version, zipFile string) (CheckedFiles, error) {
    	f, err := os.Open(zipFile)
    	if err != nil {
    		return CheckedFiles{}, err
    	}
    	defer f.Close()
    	_, cf, err := checkZip(m, f)
    	return cf, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesIntegrationTest.groovy

                .dependsOn(notRequired, scope: 'provided')
                .publish()
    
            buildFile << """
    dependencies {
        conf 'test:target:1.0'
    }
    """
            expect:
            succeeds 'checkDep'
            resolve.expectDefaultConfiguration("runtime")
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module('test:target:1.0') {
                        module('test:test5:1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AbstractDependencyMetadataRulesIntegrationTest.groovy

                }
                'org.test:moduleB:1.0'() {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
    
            then:
            succeeds 'checkDep'
            def expectedVariant = variantToTest
            resolve.expectGraph {
                root(':', ':test:') {
                    edge('org.test:moduleB', 'org.test:moduleB:1.0') {
                        maybeByConstraint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 36.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBomResolveIntegrationTest.groovy

            buildFile << """
                dependencies {
                    compile "group:moduleA"
                    compile platform("group:bom:1.0")
                }
            """
    
            when:
            succeeds 'checkDep'
    
            then:
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module("group:bom:1.0:platform-runtime") {
                        constraint("group:moduleA:2.0", "group:moduleA:2.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/VariantFilesMetadataRulesIntegrationTest.groovy

                    expectGetArtifact(classifier: 'jdk8')
                }
                'org.test:moduleB:1.0' {
                    expectResolve()
                }
            }
    
            then:
            succeeds 'checkDep'
            def expectedLibraryAttributes = expectedJavaLibraryAttributes(useMaven() || gradleMetadataPublished)
            resolve.expectGraph {
                root(':', ':test:') {
                    module('org.test:moduleA:1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy

                .dependsOn(ivyModule)
                .publish()
    
            buildFile << """
    dependencies {
        conf 'org.test:maven:1.0'
    }
    """
            expect:
            succeeds 'checkDep'
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module('org.test:maven:1.0:runtime') {
                        module('org.test:ivy:1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryInteractionDependencyResolveIntegrationTest.groovy

                dependencies {
                    conf 'org:${chain[0]}:1.0'
                }
            """
            expectChainInteractions(REPO_TYPES, chain, testVariant)
    
            then:
            succeeds 'checkDep'
            resolve.expectGraph {
                root(':', ':test:') {
                    module("org:${chain[0]}:1.0:${RepositoryInteractionDependencyResolveIntegrationTest.expectedConfiguration(chain[0], testVariant)}") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    static void ValidateAPI(const TF_FilesystemPluginOps* ops) {
      CheckAPI(ops->filesystem_ops_api, TF_FILESYSTEM_OPS_API, "filesystem");
    
      if (ops->random_access_file_ops != nullptr)
        CheckAPI(ops->random_access_file_ops_api, TF_RANDOM_ACCESS_FILE_OPS_API,
                 "random access file");
    
      if (ops->writable_file_ops != nullptr)
        CheckAPI(ops->writable_file_ops_api, TF_WRITABLE_FILE_OPS_API,
                 "writable file");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 07 22:08:43 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    	tcases := []struct {
    		name        string
    		mask        []int
    		checkBit    int
    		expectedSet bool
    	}{
    		{
    			name:        "Check if bit 0 in mask 00 is set",
    			mask:        nil,
    			checkBit:    0,
    			expectedSet: false,
    		},
    		{
    			name:        "Check if bit 0 in mask 01 is set",
    			mask:        []int{0},
    			checkBit:    0,
    			expectedSet: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top