Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 544 for flag (0.2 sec)

  1. internal/config/bool-flag.go

    Anis Elleuch <******@****.***> 1649344240 +0100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 07 15:10:40 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. internal/config/bool-flag_test.go

    	}
    
    	for _, testCase := range testCases {
    		var flag BoolFlag
    		err := (&flag).UnmarshalJSON(testCase.data)
    		if !testCase.expectedErr && err != nil {
    			t.Fatalf("error: expected = <nil>, got = %v", err)
    		}
    		if testCase.expectedErr && err == nil {
    			t.Fatalf("error: expected error, got = <nil>")
    		}
    		if err == nil && testCase.expectedResult != flag {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. istioctl/cmd/root_test.go

    	"github.com/spf13/cobra"
    )
    
    func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) {
    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    			t.Errorf("%q flag was found in help text but not expected", flag)
    		}
    	}
    }
    
    func TestHideInheritedFlags(t *testing.T) {
    	const (
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n")
    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. 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)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * @param flag
         */
        public void unsetFlag ( int flag ) {
            this.flags &= ~flag;
        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          var flags = FLAG_NONE
          if (outFinished) flags = flags or FLAG_END_STREAM
          dataFrame(streamId, flags, source, byteCount)
        }
      }
    
      @Throws(IOException::class)
      fun dataFrame(
        streamId: Int,
        flags: Int,
        buffer: Buffer?,
        byteCount: Int,
      ) {
        frameHeader(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       */
    
      /** Byte 0 flag for whether this is the final fragment in a message. */
      internal const val B0_FLAG_FIN = 128
    
      /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV1 = 64
    
      /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV2 = 32
    
      /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. 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")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. 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;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
Back to top