Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for sysconf (0.14 sec)

  1. 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)
  2. src/runtime/testdata/testprogcgo/pprof_callback.go

    //
    // This is a regression test for issue 50936.
    
    /*
    #include <unistd.h>
    
    void goCallbackPprof();
    
    static void callGo() {
    	// Spent >20us in C so this thread is eligible for sysmon to retake its
    	// P.
    	usleep(50);
    	goCallbackPprof();
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"runtime/pprof"
    	"time"
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 15:44:05 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // This program hung when run under the C/C++ ThreadSanitizer. TSAN defers
    // asynchronous signals until the signaled thread calls into libc. The runtime's
    // sysmon goroutine idles itself using direct usleep syscalls, so it could
    // run for an arbitrarily long time without triggering the libc interceptors.
    // See https://golang.org/issue/18717.
    
    import (
    	"os"
    	"os/signal"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/stack_windows.go

    		}()
    	}
    	wg.Wait()
    	mem2, err := getPagefileUsage()
    	if err != nil {
    		panic(err)
    	}
    	// assumes that this process creates 1 thread for each
    	// thread locked goroutine plus extra 10 threads
    	// like sysmon and others
    	print((mem2 - mem1) / (threadCount + 10))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:31 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/fmt/doc.go

    [Fscanf] and [Fscanln] read from a specified [io.Reader]; [Sscan],
    [Sscanf] and [Sscanln] read from an argument string.
    
    [Scan], [Fscan], [Sscan] treat newlines in the input as spaces.
    
    [Scanln], [Fscanln] and [Sscanln] stop scanning at a newline and
    require that the items be followed by a newline or EOF.
    
    [Scanf], [Fscanf], and [Sscanf] parse the arguments according to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/ivy/IvyDescriptorDependencyTest.groovy

            given:
            IvyDescriptorDependency ivyDescriptorDependency = new IvyDescriptorDependency(confs: [givenConf])
    
            when:
            boolean matchingConf = ivyDescriptorDependency.hasConf(expectedConf)
    
            then:
            matchingConf == result
    
            where:
            givenConf | expectedConf | result
            null      | 'compile'    | false
            'compile' | null         | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. pkg/kube/inject/openshift.go

    	if strings.Contains(in, "/") {
    		var start, size uint32
    		n, err := fmt.Sscanf(in, "%d/%d", &start, &size)
    		if err != nil {
    			return Block{}, err
    		}
    		if n != 2 {
    			return Block{}, ErrBlockSlashBadFormat
    		}
    		return Block{Start: start, End: start + size - 1}, nil
    	}
    
    	var start, end uint32
    	n, err := fmt.Sscanf(in, "%d-%d", &start, &end)
    	if err != nil {
    		return Block{}, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 19:10:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top