Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Consistently (0.15 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/headers/sum.h

    // Ensure that function name is consistently mapped to assembler
    #ifdef _MSC_VER
    int sum(int a, int b);
    #else
    extern int sum(int a, int b) asm("_sum");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 159 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/install_shadow_gopath.txt

    # Tests Issue #3562
    # go get foo.io (not foo.io/subdir) was not working consistently.
    
    env GO111MODULE=off
    env GOPATH=$WORK/gopath1${:}$WORK/gopath2
    
    mkdir $WORK/gopath1/src/test
    mkdir $WORK/gopath2/src/test
    cp main.go $WORK/gopath2/src/test/main.go
    cd $WORK/gopath2/src/test
    
    ! go install
    stderr 'no install location for.*gopath2.src.test: hidden by .*gopath1.src.test'
    
    -- main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 415 bytes
    - Viewed (0)
  3. test/heapsampling.go

    // Note that heap sampling uses randomization, so the results vary for
    // run to run. To avoid flakes, this test performs multiple
    // experiments and only complains if all of them consistently fail.
    func main() {
    	// Sample at 16K instead of default 512K to exercise sampling more heavily.
    	runtime.MemProfileRate = 16 * 1024
    
    	if err := testInterleavedAllocations(); err != nil {
    		panic(err.Error())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue27340.go

    // Copyright 2018 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.
    
    //go:build cgo
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue27340"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 377 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testgodefs/testdata/issue8478.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // Issue 8478.  Test that void* is consistently mapped to *byte.
    
    /*
    typedef struct {
    	void *p;
    	void **q;
    	void ***r;
    } s;
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 351 bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/jvm/component/internal/JvmSoftwareComponentInternal.java

        JvmFeatureInternal getMainFeature();
    
        /**
         * Ensures the runtime classpath of all features in this component resolve consistently with each other.
         */
        void useRuntimeClasspathConsistency();
    
        /**
         * Ensures the compile classpath of all features in this component resolve consistently with each other.
         */
        void useCompileClasspathConsistency();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/import_unix_tag.txt

    # Regression test for https://go.dev/issue/54712: the "unix" build constraint
    # was not applied consistently during package loading.
    
    go list -x -f '{{if .Module}}{{.ImportPath}}{{end}}' -deps .
    stdout 'example.com/version'
    
    -- go.mod --
    module example
    
    go 1.19
    
    require example.com/version v1.1.0
    -- go.sum --
    example.com/version v1.1.0 h1:VdPnGmIF1NJrntStkxGrF3L/OfhaL567VzCjncGUgtM=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 19:01:26 UTC 2022
    - 751 bytes
    - Viewed (0)
  8. test/fixedbugs/issue24503.go

    // Copyright 2018 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.
    
    // Issue 24503: Handle == and != of addresses taken of symbols consistently.
    
    package main
    
    func test() string {
    	type test struct{}
    	o1 := test{}
    	o2 := test{}
    	if &o1 == &o2 {
    		return "equal"
    	}
    	if &o1 != &o2 {
    		return "unequal"
    	}
    	return "failed"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 31 21:37:13 UTC 2018
    - 517 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue27340/a.go

    // Copyright 2018 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.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/starttime.go

    */
    
    // Package util contains kubeadm utilities.
    package util
    
    import (
    	"time"
    )
    
    // startTime is a variable that represents the start time of the kubeadm process.
    // It can be used to consistently use the same start time instead of calling time.Now()
    // in multiple locations and ending up with minor time deviations.
    var startTime time.Time
    
    func init() {
    	startTime = time.Now()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top