Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 668 for detective (0.14 sec)

  1. src/cmd/go/internal/load/godebug.go

    // When building a test binary, directives, testDirectives, and xtestDirectives
    // list additional directives from the package under test.
    func defaultGODEBUG(p *Package, directives, testDirectives, xtestDirectives []build.Directive) string {
    	if p.Name != "main" {
    		return ""
    	}
    	goVersion := modload.MainModules.GoVersion()
    	if modload.RootMode == modload.NoRoot && p.Module != nil {
    		// This is go install pkg@version or go run pkg@version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_load_badmod.txt

    go list -m -mod=mod all
    
    # ... and in replaced dependency go.mod files.
    cp go.mod go.mod.usesub
    go list -m -mod=mod all
    
    # ... but not in the main module.
    cp go.mod.bad go.mod
    ! go list -m -mod=mod all
    stderr 'unknown directive: hello'
    
    -- go.mod --
    module m
    require rsc.io/badmod v1.0.0
    -- go.mod.bad --
    module m
    hello world
    -- go.mod.usesub --
    module m
    require rsc.io/badmod v1.0.0
    replace rsc.io/badmod v1.0.0 => ./sub
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 11 13:08:54 UTC 2020
    - 524 bytes
    - Viewed (0)
  3. test/interface/noeq.go

    // run
    
    // Copyright 2011 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.
    
    // Test run-time error detection for interface values containing types
    // that cannot be compared for equality.
    
    package main
    
    func main() {
    	cmp(1)
    
    	var (
    		m map[int]int
    		s struct{ x []int }
    		f func()
    	)
    	noCmp(m)
    	noCmp(s)
    	noCmp(f)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 641 bytes
    - Viewed (0)
  4. test/typeparam/valimp.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type Value[T any] struct {
    	val T
    }
    
    // The noinline directive should survive across import, and prevent instantiations
    // of these functions from being inlined.
    
    //go:noinline
    func Get[T any](v *Value[T]) T {
    	return v.val
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 587 bytes
    - Viewed (0)
  5. .github/workflows/codeql-analysis.yml

          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/endpoints/endpoint_builder_test.go

    								FailoverPriority: []string{
    									"a",
    									"b",
    								},
    							},
    						},
    					},
    				},
    			},
    			expectedLabels: []byte("a:a b:b "),
    		},
    		{
    			name: "no outlier detection",
    			dr: &config.Config{
    				Spec: &networking.DestinationRule{
    					TrafficPolicy: &networking.TrafficPolicy{
    						LoadBalancer: &networking.LoadBalancerSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStoreHelper.java

            int firstDashIndex = channel.indexOf('-');
            if (firstDashIndex == -1) {
                return OperatingSystem.LINUX;
            }
            String prefix = channel.startsWith("flakiness-detection")
                ? "flakiness-detection"
                : channel.substring(0, firstDashIndex);
            String channelWithoutPrefix = channel.substring(prefix.length());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. test/fixedbugs/bug459.go

    // errorcheck
    
    // Copyright 2012 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 3890: missing detection of init cycle involving
    // method calls in function bodies.
    
    package flag
    
    var commandLine = NewFlagSet() // ERROR "initialization cycle|depends upon itself"
    
    type FlagSet struct {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 681 bytes
    - Viewed (0)
  9. src/net/http/httptest/recorder_test.go

    			},
    			check(hasStatus(200), hasFlush(true), hasContentLength(-1)),
    		},
    		{
    			"Content-Type detection",
    			func(w http.ResponseWriter, r *http.Request) {
    				io.WriteString(w, "<html>")
    			},
    			check(hasHeader("Content-Type", "text/html; charset=utf-8")),
    		},
    		{
    			"no Content-Type detection with Transfer-Encoding",
    			func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 23:17:38 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModuleOutOfBlockModificationListener.kt

         * modifications.
         *
         * This event may be published for any and all source code changes, not just out-of-block modifications, to simplify the implementation
         * of modification detection.
         *
         * @see KotlinModificationTopics
         */
        public fun onModification(module: KtModule)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 987 bytes
    - Viewed (0)
Back to top