Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 278 for Constraint (0.4 sec)

  1. src/cmd/trace/gstate.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"internal/trace"
    	"internal/trace/traceviewer"
    	"internal/trace/traceviewer/format"
    	"strings"
    )
    
    // resource is a generic constraint interface for resource IDs.
    type resource interface {
    	trace.GoID | trace.ProcID | trace.ThreadID
    }
    
    // noResource indicates the lack of a resource.
    const noResource = -1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typestring.go

    		}
    		w.typ(typ)
    	}
    	w.byte(']')
    }
    
    func (w *typeWriter) tParamList(list []*TypeParam) {
    	w.byte('[')
    	var prev Type
    	for i, tpar := range list {
    		// Determine the type parameter and its constraint.
    		// list is expected to hold type parameter names,
    		// but don't crash if that's not the case.
    		if tpar == nil {
    			w.error("nil type parameter")
    			continue
    		}
    		if i > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typeset.go

    		case *Interface:
    			// For now we don't permit type parameters as constraints.
    			assert(!isTypeParam(typ))
    			tset := computeInterfaceTypeSet(check, pos, u)
    			// If typ is local, an error was already reported where typ is specified/defined.
    			if pos.IsKnown() && check != nil && check.isImportedConstraint(typ) && !check.verifyVersionf(atPos(pos), go1_18, "embedding constraint interface %s", typ) {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	// not valid.
    	//
    	// Example:
    	//  type _ interface {
    	//   	~int | interface{ m() }
    	//  }
    	InvalidUnion
    
    	// MisplacedConstraintIface occurs when a constraint-type interface is used
    	// outside of constraint position.
    	//
    	// Example:
    	//   type I interface { ~int }
    	//
    	//   var _ I
    	MisplacedConstraintIface
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. src/go/types/typeset.go

    		case *Interface:
    			// For now we don't permit type parameters as constraints.
    			assert(!isTypeParam(typ))
    			tset := computeInterfaceTypeSet(check, pos, u)
    			// If typ is local, an error was already reported where typ is specified/defined.
    			if pos.IsValid() && check != nil && check.isImportedConstraint(typ) && !check.verifyVersionf(atPos(pos), go1_18, "embedding constraint interface %s", typ) {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. src/go/types/typestring.go

    		}
    		w.typ(typ)
    	}
    	w.byte(']')
    }
    
    func (w *typeWriter) tParamList(list []*TypeParam) {
    	w.byte('[')
    	var prev Type
    	for i, tpar := range list {
    		// Determine the type parameter and its constraint.
    		// list is expected to hold type parameter names,
    		// but don't crash if that's not the case.
    		if tpar == nil {
    			w.error("nil type parameter")
    			continue
    		}
    		if i > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/globals.go

    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    	// Limit of location constraint XML for unauthenticated PUT bucket operations.
    	maxLocationConstraintSize = 3 * humanize.MiByte
    
    	// Maximum size of default bucket encryption configuration allowed
    	maxBucketSSEConfigSize = 1 * humanize.MiByte
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".
         * <p>
         * Shortcut for {@code getService(VersionParser.class).parseVersionConstraint(...)}.
         *
         * @param versionConstraint the version string to parse
         * @return the version constraint parsed from the given string
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

                DefaultDependencyConstraint constraint = DefaultDependencyConstraint.strictly(
                    moduleVersion.getGroup(),
                    moduleVersion.getName(),
                    moduleVersion.getVersion());
                constraint.because(consistentResolutionReason);
                return constraint;
            }
            return null;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/api__v1_openapi.json

                "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n  but giving higher precedence to topologies that would help reduce the\n  skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\"...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
Back to top