Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for hasNil (0.12 sec)

  1. build/common.sh

        echo "      on Mac OS X (brew install gnu-tar)."
        return 1
      fi
    }
    
    function kube::build::has_docker() {
      which docker &> /dev/null
    }
    
    function kube::build::has_ip() {
      which ip &> /dev/null && ip -Version | grep 'iproute2' &> /dev/null
    }
    
    # Detect if a specific image exists
    #
    # $1 - image repo name
    # $2 - image tag
    function kube::build::docker_image_exists() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. cmd/signature-v2.go

    	"github.com/minio/minio/internal/auth"
    )
    
    // Whitelist resource list that will be used in query string for signature-V2 calculation.
    //
    // This list should be kept alphabetically sorted, do not hastily edit.
    var resourceList = []string{
    	"acl",
    	"cors",
    	"delete",
    	"encryption",
    	"legal-hold",
    	"lifecycle",
    	"location",
    	"logging",
    	"notification",
    	"partNumber",
    	"policy",
    	"requestPayment",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    		// concatstrings will return the reference to the temp string
    		// to the caller.
    		hasbyte := false
    
    		haslit := false
    		for _, n1 := range n.List {
    			hasbyte = hasbyte || n1.Op() == ir.OBYTES2STR
    			haslit = haslit || n1.Op() == ir.OLITERAL && len(ir.StringVal(n1)) != 0
    		}
    
    		if haslit && hasbyte {
    			for _, n2 := range n.List {
    				if n2.Op() == ir.OBYTES2STR {
    					n2 := n2.(*ir.ConvExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/text/secure/bidirule/bidirule.go

    func New() *Transformer {
    	return &Transformer{}
    }
    
    // Transformer implements transform.Transform.
    type Transformer struct {
    	state  ruleState
    	hasRTL bool
    	seen   uint16
    }
    
    // A rule can only be violated for "Bidi Domain names", meaning if one of the
    // following categories has been observed.
    func (t *Transformer) isRTL() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    // ValidateDryRun validates that a dryRun query param only contains allowed values.
    func ValidateDryRun(fldPath *field.Path, dryRun []string) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if !allowedDryRunValues.HasAll(dryRun...) {
    		allErrs = append(allErrs, field.NotSupported(fldPath, dryRun, allowedDryRunValues.List()))
    	}
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    the same, shedding gallons of tears, until there was a large pool
    all round her, about four inches deep and reaching half down the
    hall.
    
      After a time she heard a little pattering of feet in the
    distance, and she hastily dried her eyes to see what was coming.
    It was the White Rabbit returning, splendidly dressed, with a
    pair of white kid gloves in one hand and a large fan in the
    other:  he came trotting along in a great hurry, muttering to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

                boolean authenticate(String username, PublicKey key, ServerSession session) {
                    return true
                }
            })
            return sshServer
        }
    
    
        boolean hasFile(String filePathToCheck) {
            new File(baseDir, filePathToCheck).exists()
        }
    
        TestFile file(String expectedPath) {
            new TestFile(new File(baseDir, expectedPath))
        }
    
        URI getUri() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    absl::StatusOr<llvm::SmallVector<ParsedDevice, 8>> GetTPUSystemDevices(
        ParsedDevices devices) {
      ParsedDevice spec;
      spec.type = kDeviceTPUSystem;
      spec.has_type = true;
      spec.id = 0;
      spec.has_id = true;
    
      llvm::SmallVector<ParsedDevice, 8> system_devices =
          FindMatchingDevices(devices, spec);
      if (system_devices.empty())
        return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. test/64bit.go

    				return i + 1
    			}
    		}
    	}
    	return 0
    }
    
    func (a Uint64) HasBit(b uint) bool {
    	switch {
    	case b >= 64:
    		return false
    	case b >= 32:
    		return a.hi&(1<<(b-32)) != 0
    	}
    	return a.lo&(1<<b) != 0
    }
    
    func (a Uint64) Times(b Uint64) (c Uint64) {
    	for i := uint(0); i < 64; i++ {
    		if b.HasBit(i) {
    			c = c.Plus(a.LeftShift(i))
    		}
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 30 19:21:08 UTC 2013
    - 24.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    	}
    	summary := summarizeData(body, 30)
    	return errors.NewBadRequest(fmt.Sprintf("the object provided is unrecognized (must be of type %s): %v (%s)", objGVK.Kind, baseErr, summary))
    }
    
    func hasUID(obj runtime.Object) (bool, error) {
    	if obj == nil {
    		return false, nil
    	}
    	accessor, err := meta.Accessor(obj)
    	if err != nil {
    		return false, errors.NewInternalError(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top