Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Scanln (0.2 sec)

  1. istioctl/pkg/util/common.go

    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    		case "N", "NO":
    			return false
    		}
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. operator/cmd/mesh/shared.go

    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    		case "N", "NO":
    			return false
    		}
    	}
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. cmd/common-main.go

    			fmt.Println("Refer to the docs here on how to run it as a Windows Service https://github.com/minio/minio-service/tree/master/windows")
    			fmt.Println("Press the Enter Key to Exit")
    			fmt.Scanln()
    			os.Exit(1)
    		}
    	}
    
    	logger.Init(GOPATH, GOROOT)
    	logger.RegisterError(config.FmtError)
    
    	globalBatchJobsMetrics = batchJobMetrics{metrics: make(map[string]*batchJobInfo)}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    this.share = this.canon.substring(1, firstSep);
                    this.unc = "\\";
                }
                else {
                    this.share = this.canon.substring(1, firstSep);
                    this.unc = this.canon.substring(firstSep, prefixLen + 1).replace('/', '\\');
                }
            }
            else {
                this.canon = "/";
                this.share = null;
                this.unc = "\\";
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *          itself.
     */
    
        public String getName() {
            getUncPath0();
            if( canon.length() > 1 ) {
                int i = canon.length() - 2;
                while( canon.charAt( i ) != '/' ) {
                    i--;
                }
                return canon.substring( i + 1 );
            } else if( share != null ) {
                return share + '/';
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

     */
    @Beta
    @GwtCompatible
    public enum PublicSuffixType {
    
      /** Public suffix that is provided by a private company, e.g. "blogspot.com" */
      PRIVATE(':', ','),
      /** Public suffix that is backed by an ICANN-style domain name registry */
      REGISTRY('!', '?');
    
      /** The character used for an inner node in the trie encoding */
      private final char innerNodeCode;
    
      /** The character used for a leaf node in the trie encoding */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2K bytes
    - Viewed (0)
  7. lib/time/update.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # This script rebuilds the time zone files using files
    # downloaded from the ICANN/IANA distribution.
    #
    # To prepare an update for a new Go release,
    # consult https://www.iana.org/time-zones for the latest versions,
    # update CODE and DATA below, and then run
    #
    #	./update.bash -commit
    #
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       * registry suffix is one under which Internet users can directly register names via a domain name
       * registrar, and have such registrations lawfully protected by internet-governing bodies such as
       * ICANN. Examples of registry suffixes include {@code com}, {@code co.uk}, and {@code
       * pvt.k12.wy.us}. Examples of domain names that are <i>not</i> registry suffixes include {@code
       * google.com} and {@code foo.co.uk}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       * files).
       *
       * @since 13.0
       */
      public static final MediaType BMP = createConstant(IMAGE_TYPE, "bmp");
    
      /**
       * The <a href="https://en.wikipedia.org/wiki/Camera_Image_File_Format">Canon Image File
       * Format</a> ({@code crw} files), a widely-used "raw image" format for cameras. It is found in
       * {@code /etc/mime.types}, e.g. in <a href=
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    calvinklein
    
    // cam : 2016-04-21 Cam Connecting SARL
    cam
    
    // camera : 2013-08-27 Binky Moon, LLC
    camera
    
    // camp : 2013-11-07 Binky Moon, LLC
    camp
    
    // canon : 2014-09-12 Canon Inc.
    canon
    
    // capetown : 2014-03-24 ZA Central Registry NPC trading as ZA Central Registry
    capetown
    
    // capital : 2014-03-06 Binky Moon, LLC
    capital
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top