Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 757 for switches (0.09 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    	if opt.ClusterName == "" {
    		uid, err := clusterUID(client.Kube())
    		if err != nil {
    			return nil, nil, err
    		}
    		opt.ClusterName = string(uid)
    	}
    
    	var secretName string
    	switch opt.Type {
    	case SecretTypeRemote:
    		secretName = remoteSecretNameFromClusterName(opt.ClusterName)
    		if opt.ServiceAccountName == "" {
    			opt.ServiceAccountName = constants.DefaultServiceAccountName
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      @Override
      @CheckForNull
      public E peek() {
        return isEmpty() ? null : elementData(0);
      }
    
      /** Returns the index of the max element. */
      private int getMaxElementIndex() {
        switch (size) {
          case 1:
            return 0; // The lone element in the queue is the maximum.
          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. tests/query_test.go

    		} else {
    			for _, name := range []string{"Name", "Age", "Birthday"} {
    				t.Run(name, func(t *testing.T) {
    					dbName := DB.NamingStrategy.ColumnName("", name)
    
    					switch name {
    					case "Name":
    						if _, ok := first[dbName].(string); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Age":
    						if _, ok := first[dbName].(uint); !ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    // guessIsRPCReq - returns true if the request is for an RPC endpoint.
    func guessIsRPCReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	if req.Method == http.MethodGet && req.URL != nil {
    		switch req.URL.Path {
    		case grid.RoutePath, grid.RouteLockPath:
    			return true
    		}
    	}
    
    	return (req.Method == http.MethodPost || req.Method == http.MethodGet) &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

                    }
                    if ( i < len && data[ i ] == '.' ) {
                        dots++;
                        i++;
                    }
                }
            }
            else {
                switch ( this.hostName.hexCode ) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    this.calledName = SMBSERVER_NAME;
                }
            }
    
            return this.calledName;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

     * functions without a clear receiver
     */
    
    // CmpInt compares x and y. The result is
    //
    //	-1 if x <  y
    //	 0 if x == y
    //	+1 if x >  y
    func CmpInt(x, y *Int) int {
    	x.doinit()
    	y.doinit()
    	switch cmp := C.mpz_cmp(&x.i[0], &y.i[0]); {
    	case cmp < 0:
    		return -1
    	case cmp == 0:
    		return 0
    	}
    	return +1
    }
    
    // DivModInt sets q = x / y and r = x % y.
    func DivModInt(q, r, x, y *Int) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.digest = Crypto.getMD5();
            try {
                byte[] serverEncryptionKey = transport.getServerEncryptionKey();
                switch ( transport.getContext().getConfig().getLanManCompatibility() ) {
                case 0:
                case 1:
                case 2:
                    this.macSigningKey = new byte[40];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  8. istioctl/pkg/version/version.go

    	return func() (*[]istioVersion.ProxyInfo, error) {
    		pi := []istioVersion.ProxyInfo{}
    		for _, resource := range (*xdsResponse).Resources {
    			switch resource.TypeUrl {
    			case "type.googleapis.com/envoy.config.core.v3.Node":
    				node := core.Node{}
    				err := resource.UnmarshalTo(&node)
    				if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. gradlew

    #   * the main class name
    #   * -classpath
    #   * -D...appname settings
    #   * --module-path (only if needed)
    #   * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
    
    # For Cygwin or MSYS, switch paths to Windows format before running java
    if "$cygwin" || "$msys" ; then
        APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
        CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. internal/config/errors.go

    	)
    
    	ErrCertsAndHTTPEndpoints = newErrFn(
    		"HTTP specified in endpoints, but the server in the local machine is configured with a TLS certificate",
    		"Please remove the certificate in the configuration directory or switch to HTTPS",
    		"",
    	)
    
    	ErrTLSWrongPassword = newErrFn(
    		"Unable to decrypt the private key using the provided password",
    		"Please set the correct password in environment variable `MINIO_CERT_PASSWD`",
    		"",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 16:57:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top