Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 220 for flag (2.4 sec)

  1. src/cmd/go/testdata/script/gotoolchain_local.txt

    stderr '^flag provided but not defined: -unknownflag'
    
    # go run cannot handle unknown boolean flags
    ! go run -unknownflag rsc.io/fortune/nonexist@v0.0.1
    ! stderr switching
    stderr '^flag provided but not defined: -unknownflag'
    
    ! go run -unknownflag oops rsc.io/fortune/nonexist@v0.0.1
    ! stderr switching
    stderr '^flag provided but not defined: -unknownflag'
    
    # go run can handle unknown flag with argument.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 21:19:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/gofmt/long_test.go

    // filenames via the -files flag: go test -files=gofmt.go .
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/printer"
    	"go/token"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    var (
    	root    = flag.String("root", runtime.GOROOT(), "test root directory")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/ssa_test.go

    			t.Fatalf("test file testdata/%s has no tests in it", f.Name())
    		}
    	}
    
    	flags := []string{""}
    	if runtime.GOARCH == "arm" || runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" || runtime.GOARCH == "386" {
    		flags = append(flags, ",softfloat")
    	}
    	for _, flag := range flags {
    		args := []string{"test", "-c", "-gcflags=-d=ssa/check/on" + flag, "-o", filepath.Join(tmpdir, "code.test")}
    		args = append(args, srcs...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyGroovyInterOpIntegrationTest.groovy

                        map = objectFactory.mapProperty(Integer, Boolean)
                    }
    
                    @TaskAction
                    void run() {
                        System.out.println("flag = " + flag.get())
                        System.out.println("message = " + message.get())
                        System.out.println("number = " + number.get())
                        System.out.println("list = " + list.get())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

            this.contextFlags = contextFlags;
        }
    
    
        public boolean getContextFlag ( int flag ) {
            return ( getContextFlags() & flag ) == flag;
        }
    
    
        public void setContextFlag ( int flag, boolean value ) {
            setContextFlags(value ? ( getContextFlags() | flag ) : ( getContextFlags() & ( 0xffffffff ^ flag ) ));
        }
    
    
        public ASN1ObjectIdentifier[] getMechanisms () {
            return this.mechanisms;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/asm/main.go

    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/lambdaImplicitReturn.kt

    fun test(flag: Boolean) {
        block {
            consume("before")
    
            <expr>if (flag) {
                return@block 1
            }
    
            2</expr>
        }
    }
    
    fun block(block: () -> Int) {
        block()
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 06:40:43 UTC 2024
    - 228 bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/NestedBeanKotlinInterOpIntegrationTest.groovy

                abstract class SomeTask: DefaultTask() {
                    @get:Nested
                    abstract val params: Params
    
                    @TaskAction
                    fun run() {
                        println("flag = " + params.flag.get())
                    }
                }
            """
        }
    
        @Override
        void pluginDefinesTask() {
            pluginDir.file("src/main/kotlin/SomePlugin.kt") << """
                import ${Project.name}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. doc/next/3-tools.md

    <!-- go.dev/issue/34208, CL 563137, CL 586095 -->
    The new `go` `env` `-changed` flag causes the command to print only
    those settings whose effective value differs from the default value
    that would be obtained in an empty environment with no prior uses of the `-w` flag.
    
    <!-- go.dev/issue/27005, CL 585401 -->
    The new `go` `mod` `tidy` `-diff` flag causes the command not to modify
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                    boolean flag = false;
                    for (final String protocol : protocols) {
                        if (path.trim().startsWith(protocol.trim())) {
                            flag = true;
                            break;
                        }
                    }
                    if (!flag) {
                        return false;
                    }
                }
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top