Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for Sysconf (0.52 sec)

  1. src/net/nss.go

    	mu      sync.Mutex // protects nssConf
    	nssConf *nssConf
    }
    
    func getSystemNSS() *nssConf {
    	nssConfig.tryUpdate()
    	nssConfig.mu.Lock()
    	conf := nssConfig.nssConf
    	nssConfig.mu.Unlock()
    	return conf
    }
    
    // init initializes conf and is only called via conf.initOnce.
    func (conf *nsswitchConfig) init() {
    	conf.nssConf = parseNSSConfFile("/etc/nsswitch.conf")
    	conf.lastChecked = time.Now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. src/net/conf.go

    	// than fallbackOrder to use the Go resolver with that order.
    
    	dnsConf = getSystemDNSConfig()
    
    	if canUseCgo && dnsConf.err != nil && !errors.Is(dnsConf.err, fs.ErrNotExist) && !errors.Is(dnsConf.err, fs.ErrPermission) {
    		// We can't read the resolv.conf file, so use cgo if we can.
    		return hostLookupCgo, dnsConf
    	}
    
    	if canUseCgo && dnsConf.unknownOpt {
    		// We didn't recognize something in resolv.conf,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishFeaturesJavaIntegTest.groovy

            javaLibrary.parsedIvy.dependencies['org:optionaldep-g1:1.0'].hasConf('optionalFeature1RuntimeElements->default')
            javaLibrary.parsedIvy.dependencies['org:optionaldep1-g2:1.0'].hasConf('optionalFeature2RuntimeElements->default')
            javaLibrary.parsedIvy.dependencies['org:optionaldep2-g2:1.0'].hasConf('optionalFeature2RuntimeElements->default')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top