Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 763 for sys1 (0.05 sec)

  1. src/syscall/syscall_plan9_test.go

    package syscall_test
    
    import (
    	"syscall"
    	"testing"
    )
    
    // testalias checks for aliasing of error strings returned by sys1 and sys2,
    // which both call the function named fn in package syscall
    func testalias(t *testing.T, fn string, sys1, sys2 func() error) {
    	err := sys1().Error()
    	errcopy := string([]byte(err))
    	sys2()
    	if err != errcopy {
    		t.Errorf("syscall.%s error string changed from %q to %q\n", fn, errcopy, err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 14:57:01 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  2. test/init1.go

    	runtime.ReadMemStats(memstats)
    	sys, numGC := memstats.Sys, memstats.NumGC
    
    	// Generate 1,000 MB of garbage, only retaining 1 MB total.
    	for i := 0; i < N; i++ {
    		x = []byte(s)
    	}
    
    	// Verify that the garbage collector ran by seeing if we
    	// allocated fewer than N*MB bytes from the system.
    	runtime.ReadMemStats(memstats)
    	sys1, numGC1 := memstats.Sys, memstats.NumGC
    	if sys1-sys >= N*MB || numGC1 == numGC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy

            given:
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                    "-sys1", "-sys2",
                    "-shared",
                    getSoNameProp("installName"),
                    "-o", outputFile.absolutePath,
                    testDir.file("one.o").absolutePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

                    "-sys1", "-sys2",
                    "-emit-library",
                    "-o", outputFile.absolutePath,
                    testDir.file("one.o").absolutePath,
                    testDir.file("two.o").absolutePath,
                    "-arg1", "-arg2"].flatten()
    
            when:
            LinkerSpec spec = Mock(SharedLibraryLinkerSpec)
            spec.getSystemArgs() >> ['-sys1', '-sys2']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/syso/syso.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    // This package only exists with GOEXPERIMENT=boringcrypto.
    // It provides the actual syso file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 295 bytes
    - Viewed (0)
  6. src/runtime/internal/sys/sys.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // package sys contains system- and configuration- and architecture-specific
    // constants used by the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:38 UTC 2021
    - 283 bytes
    - Viewed (0)
  7. src/cmd/link/testdata/pe-binutils/rsrc_386.syso

    rsrc_386.syso...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 18:15:09 UTC 2021
    - 228 bytes
    - Viewed (0)
  8. cmd/bucket-metadata-sys.go

    func (sys *BucketMetadataSys) Count() int {
    	sys.RLock()
    	defer sys.RUnlock()
    
    	return len(sys.metadataMap)
    }
    
    // Remove bucket metadata from memory.
    func (sys *BucketMetadataSys) Remove(buckets ...string) {
    	sys.Lock()
    	for _, bucket := range buckets {
    		delete(sys.metadataMap, bucket)
    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    	sys.Unlock()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/cmd/link/testdata/pe-llvm/rsrc_arm.syso

    Jason A. Donenfeld <******@****.***> 1612393872 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 18:15:09 UTC 2021
    - 352 bytes
    - Viewed (0)
  10. src/runtime/race/internal/amd64v1/race_netbsd.syso

    Cherry Mui <******@****.***> 1700148203 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 719.5K bytes
    - Viewed (0)
Back to top