Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for sysconf (0.11 sec)

  1. src/net/conf_test.go

    	order, _ = cnf.addrLookupOrder(nil, "192.0.2.1")
    	if order != hostLookupCgo {
    		t.Errorf("addrLookupOrder returned: %v, want cgo", order)
    	}
    
    }
    
    func setSystemNSS(nss *nssConf, addDur time.Duration) {
    	nssConfig.mu.Lock()
    	nssConfig.nssConf = nss
    	nssConfig.mu.Unlock()
    	nssConfig.acquireSema()
    	nssConfig.lastChecked = time.Now().Add(addDur)
    	nssConfig.releaseSema()
    }
    
    func TestSystemConf(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:46:36 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishFeaturesJavaPluginIntegTest.groovy

                dependency('org', 'optionaldep', '1.0')
                noMoreDependencies()
            }
            javaLibrary.parsedIvy.dependencies.size() == 1
            javaLibrary.parsedIvy.dependencies['org:optionaldep:1.0'].hasConf('featureRuntimeElements->default')
    
            and:
            resolveArtifacts(javaLibrary) { expectFiles "publishTest-1.9.jar" }
            resolveApiArtifacts(javaLibrary) { expectFiles "publishTest-1.9.jar" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 19:59:45 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

                    @OutputFile
                    abstract RegularFileProperty getOutputFile()
    
                    @Internal
                    Set<File> classpath = project.configurations["myconf"].files
                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ParallelStaleOutputIntegrationTest.groovy

                    @OutputFile
                    abstract RegularFileProperty getOutputFile()
    
                    @Internal
                    Set<File> classpath = project.configurations["myconf"].files
                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/fmt/scan_test.go

    		t.Errorf("Sscan: expected %q; got %q", input, tscan)
    	}
    	// Sscanf should work
    	var tscanf TwoLines
    	n, err = Sscanf(input, "%s", &tscanf)
    	if n != 1 {
    		t.Errorf("Sscanf: expected 1 item; got %d", n)
    	}
    	if err != nil {
    		t.Errorf("Sscanf: expected no error; got %s", err)
    	}
    	if string(tscanf) != input {
    		t.Errorf("Sscanf: expected %q; got %q", input, tscanf)
    	}
    	// Sscanln should not work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyDescriptorDependency.groovy

        String org
        String module
        String revision
        String revisionConstraint
        Set<String> confs
        String transitive
        Collection<IvyDescriptorDependencyExclusion> exclusions = []
    
        boolean hasConf(String conf) {
            this.confs.contains(conf)
        }
    
        boolean transitiveEnabled() {
            transitive != 'false'
        }
    
        boolean hasExcludes() {
            exclusions
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                        DependencyScopeConfiguration myConf = project.getConfigurations().dependencyScope("myConf").get();
                        DependencyScopeConfiguration myOtherConf = project.getConfigurations().dependencyScope("myOtherConf").get();
    
                        // create and wire the custom dependencies extension's dependencies to these global configurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyDescriptorArtifact.groovy

            assert this.ext == ext
            assert this.type == type
            assert this.conf == conf
            assert this.classifier == classifier
        }
    
        IvyDescriptorArtifact hasConf(def conf) {
            assert this.conf == conf
            return this
        }
    
        IvyDescriptorArtifact hasType(def type) {
            assert this.type == type
            return this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyDescriptor.groovy

                String key = StringUtils.substringBefore(it, "@")
                String conf = StringUtils.substringAfter(it, "@") + "->default"
                assert dependencies.containsKey(key)
                assert dependencies[key].hasConf(conf)
            }
            true
        }
    
        def assertConfigurationDependsOn(String configuration, String[] expected) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. tensorflow/api_template.__init__.py

    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    _site_packages_dirs = list(set(_site_packages_dirs))
    
    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 06:27:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top