Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for swiftc (0.09 sec)

  1. src/cmd/compile/internal/types2/typeset.go

    func (s *_TypeSet) LookupMethod(pkg *Package, name string, foldCase bool) (int, *Func) {
    	return methodIndex(s.methods, pkg, name, foldCase)
    }
    
    func (s *_TypeSet) String() string {
    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    	hasTerms := s.hasTerms()
    
    	var buf strings.Builder
    	buf.WriteByte('{')
    	if s.comparable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    	p.dataAddr[name] = nameAddr.Offset + int64(sz)
    
    	switch valueAddr.Type {
    	case obj.TYPE_CONST:
    		switch sz {
    		case 1, 2, 4, 8:
    			nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset)
    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation.go

    	if model.NamedResources != nil {
    		entries.Insert("namedResources")
    		allErrs = append(allErrs, namedresourcesvalidation.ValidateAllocationResult(model.NamedResources, fldPath.Child("namedResources"))...)
    	}
    	switch len(entries) {
    	case 0:
    		allErrs = append(allErrs, field.Required(fldPath, "exactly one structured model field must be set"))
    	case 1:
    		// Okay.
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    		ignoreClientCallFailures := hook.FailurePolicy != nil && *hook.FailurePolicy == admissionregistrationv1.Ignore
    		rejected := false
    		if err != nil {
    			switch err := err.(type) {
    			case *webhookutil.ErrCallingWebhook:
    				if !ignoreClientCallFailures {
    					rejected = true
    					// Ignore context cancelled from webhook metrics
    					if !errors.Is(err.Reason, context.Canceled) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

                } else if (ch > 0xff) {
                    out.write("\\u0" + hex(ch));
                } else if (ch > 0x7f) {
                    out.write("\\u00" + hex(ch));
                } else if (ch < 32) {
                    switch (ch) {
                        case '\b':
                            out.write('\\');
                            out.write('b');
                            break;
                        case '\n':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

        <suppress checks="JavadocPackage"
                  files=".*[/\\]platform-native[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]language[/\\]swift[/\\][^/\\]+"/>
    
        <!-- These packages are duplicated in core and war, don't require a package-info.java in each place -->
        <suppress checks="JavadocPackage"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/qos_container_manager_linux.go

    		libcontainercgroups.IsCgroup2UnifiedMode() {
    		m.setMemoryQoS(qosConfigs)
    	}
    
    	if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.QOSReserved) {
    		for resource, percentReserve := range m.qosReserved {
    			switch resource {
    			case v1.ResourceMemory:
    				m.setMemoryReserve(qosConfigs, percentReserve)
    			}
    		}
    
    		updateSuccess := true
    		for _, config := range qosConfigs {
    			err := m.cgroupManager.Update(config)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/go/types/api.go

    	// package names, dots "." of dot-imports, and blank "_" identifiers).
    	// For identifiers that do not denote objects (e.g., the package name
    	// in package clauses, or symbolic variables t in t := x.(type) of
    	// type switch headers), the corresponding objects are nil.
    	//
    	// For an embedded field, Defs returns the field *Var it defines.
    	//
    	// Invariant: Defs[id] == nil || Defs[id].Pos() == id.Pos()
    	Defs map[*ast.Ident]Object
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows.go

    // offset of this type within its parent type.
    // Assumes t.size <= goarch.PtrSize and t.size != 0.
    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    	case abi.Bool, abi.Int, abi.Int8, abi.Int16, abi.Int32, abi.Uint, abi.Uint8, abi.Uint16, abi.Uint32, abi.Uintptr, abi.Pointer, abi.UnsafePointer:
    		// Assign a register for all these types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/cmd/distpack/pack.go

    			}
    			// Inside pkg/tool, keep only $GOOS_$GOARCH.
    			if !strings.HasPrefix(name, "pkg/tool/"+goosUnderGoarch+"/") {
    				return false
    			}
    			// Inside pkg/tool/$GOOS_$GOARCH, discard helper tools.
    			switch strings.TrimSuffix(path.Base(name), ".exe") {
    			case "api", "dist", "distpack", "metadata":
    				return false
    			}
    		}
    		return true
    	})
    
    	// Add go and gofmt to bin, using cross-compiled binaries
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top