Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 506 for flag (0.03 sec)

  1. internal/lock/lock_solaris.go

    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/version/version.go

    	versionCmd.Flags().VisitAll(func(flag *pflag.Flag) {
    		if flag.Name == "short" {
    			err := flag.Value.Set("true")
    			if err != nil {
    				fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err)
    			}
    		}
    		if flag.Name == "remote" {
    			err := flag.Value.Set("true")
    			if err != nil {
    				fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err)
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. internal/lock/lock_windows.go

    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access.
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	var lockType uint32 = lockFileExclusiveLock
    	if flag == syscall.O_RDONLY {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/conf/maven.properties

                  ?"${maven.project.conf}/maven.properties"
    
    #
    # Settings
    #
    # Define the default three levels for settings.
    # The '-is' flag will override the 'maven.installation.settings' property.
    # The '-ps' flag will override the 'maven.project.settings' property.
    # The '-s' flag will override the 'maven.user.settings' property.
    maven.installation.settings = ${maven.installation.conf}/settings.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:11:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        protected int flags = 0;
        protected int length = 0;
        protected int call_id = 0;
        protected int alloc_hint = 0;
        protected int result = 0;
    
        public boolean isFlagSet(int flag) {
            return (flags & flag) == flag;
        }
        public void unsetFlag(int flag) {
            flags &= ~flag;
        }
        public void setFlag(int flag) {
            flags |= flag;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  6. docs/debugging/s3-check-md5/main.go

    	return hash.Sum(nil)
    }
    
    func main() {
    	flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    	flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
    	flag.StringVar(&bucket, "bucket", "", "Select a specific bucket")
    	flag.StringVar(&prefix, "prefix", "", "Select a prefix")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. docs/sts/ldap.go

    	// Session policy file
    	sessionPolicyFile string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&ldapUsername, "u", "", "AD/LDAP Username")
    	flag.StringVar(&ldapPassword, "p", "", "AD/LDAP Password")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

                return host;
            }
        }
    
        protected String toAscii(final String host) {
            return IDN.toASCII(decode(host), flag);
        }
    
        public void setFlag(final int flag) {
            this.flag = flag;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/addr2line/main.go

    	if len(os.Args) > 1 && os.Args[1] == "--help" {
    		printUsage(os.Stdout)
    		os.Exit(0)
    	}
    
    	flag.Usage = usage
    	flag.Parse()
    	counter.Inc("addr2line/invocations")
    	counter.CountFlags("addr2line/flag:", *flag.CommandLine)
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	f, err := objfile.Open(flag.Arg(0))
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer f.Close()
    
    	tab, err := f.PCLineTable()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. 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: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top