Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 276 for detective (0.31 sec)

  1. src/embed/embed.go

    //	print(string(data))
    //
    // # Directives
    //
    // A //go:embed directive above a variable declaration specifies which files to embed,
    // using one or more path.Match patterns.
    //
    // The directive must immediately precede a line containing the declaration of a single variable.
    // Only blank lines and ‘//’ line comments are permitted between the directive and the declaration.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/cmd/cover/cover_test.go

    	file, err = os.ReadFile(coverOutput)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// compiler directive must appear right next to function declaration.
    	if got, err := regexp.MatchString(".*\n//go:nosplit\nfunc someFunction().*", string(file)); err != nil || !got {
    		t.Error("misplaced compiler directive")
    	}
    	// "go:linkname" compiler directive should be present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. hack/update-vendor.sh

        )
      done
    
      # tidy to ensure require directives are added for indirect dependencies
      go mod tidy
    }
    
    function print_go_mod_section() {
      local directive="$1"
      local file="$2"
    
      if [ -s "${file}" ]; then
          echo "${directive} ("
          cat "$file"
          echo ")"
      fi
    }
    
    function group_directives() {
      local local_tmp_dir
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/generate/generate.go

    	$GOOS
    		The execution operating system (linux, windows, etc.)
    	$GOFILE
    		The base name of the file.
    	$GOLINE
    		The line number of the directive in the source file.
    	$GOPACKAGE
    		The name of the package of the file containing the directive.
    	$GOROOT
    		The GOROOT directory for the 'go' command that invoked the
    		generator, containing the Go toolchain and standard library.
    	$DOLLAR
    		A dollar sign.
    	$PATH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/noder/noder.go

    			p.error(syntax.Error{Pos: pos.Pos, Msg: "misplaced compiler directive"})
    		}
    	}
    	if len(pragma.Embeds) > 0 {
    		for _, e := range pragma.Embeds {
    			p.error(syntax.Error{Pos: e.Pos, Msg: "misplaced go:embed directive"})
    		}
    	}
    	if pragma.WasmImport != nil {
    		p.error(syntax.Error{Pos: pragma.WasmImport.Pos, Msg: "misplaced go:wasmimport directive"})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java

                return;
            }
            if (buffer.hasIdentifierChar()) {
                // An identifier with no separator, so this is not an #include or #import directive, it is some other directive
                return;
            }
            Expression expression = parseDirectiveBodyExpression(buffer);
            if (expression.getType() == IncludeType.TOKEN_CONCATENATION || expression.getType() == IncludeType.ARGS_LIST || expression.getType() == IncludeType.EXPRESSIONS) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  7. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/tasks/PerformanceTest.groovy

            getJvmArgumentProviders().add(new PerformanceTestJvmArgumentsProvider())
            getOutputs().doNotCacheIf("baselines contain version 'flakiness-detection-commit', 'last' or 'nightly'", { containsSpecialVersions() })
            getOutputs().doNotCacheIf("flakiness detection", { flakinessDetection })
            getOutputs().upToDateWhen { !containsSpecialVersions() && !flakinessDetection }
    
            projectName.set(project.name)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 03 03:46:18 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    }
    
    // isDirectiveValid - check if tagging-directive is valid.
    func isDirectiveValid(v string) bool {
    	// Check if set metadata-directive is valid.
    	return isDirectiveCopy(v) || isDirectiveReplace(v)
    }
    
    // Check if the directive COPY is requested.
    func isDirectiveCopy(value string) bool {
    	// By default if directive is not set we
    	// treat it as 'COPY' this function returns true.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/cmd/internal/src/pos.go

    // filename and line number relative to the position base. If the base refers
    // to the current file, there is no difference between absolute and relative
    // positions. If it refers to a //line directive, a relative position is relative
    // to that directive. A position base in turn contains the position at which it
    // was introduced in the current file.
    type Pos struct {
    	base *PosBase
    	lico
    }
    
    // NoPos is a valid unknown position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  10. src/encoding/xml/xml_test.go

    `
    
    var nestedDirectivesTokens = []Token{
    	CharData("\n"),
    	Directive(`DOCTYPE [<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">]`),
    	CharData("\n"),
    	Directive(`DOCTYPE [<!ENTITY xlt ">">]`),
    	CharData("\n"),
    	Directive(`DOCTYPE [<!ENTITY xlt "<">]`),
    	CharData("\n"),
    	Directive(`DOCTYPE [<!ENTITY xlt '>'>]`),
    	CharData("\n"),
    	Directive(`DOCTYPE [<!ENTITY xlt '<'>]`),
    	CharData("\n"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top