Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for Constraint (0.14 sec)

  1. src/go/build/build.go

    			}
    			line = bytes.TrimSpace(line)
    			if !bytes.HasPrefix(line, slashSlash) || !bytes.Contains(line, plusBuild) {
    				continue
    			}
    			text := string(line)
    			if !constraint.IsPlusBuild(text) {
    				continue
    			}
    			if x, err := constraint.Parse(text); err == nil {
    				if !ctxt.eval(x, allTags) {
    					shouldBuild = false
    				}
    			}
    		}
    	}
    
    	return shouldBuild, sawBinaryOnly, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    		if errors.Is(err, gover.ErrTooNew) {
    			toolchain.SwitchOrFatal(ctx, err)
    		}
    
    		var constraint *modload.ConstraintError
    		if !errors.As(err, &constraint) {
    			base.Fatal(err)
    		}
    
    		if cfg.BuildV {
    			// Log complete paths for the conflicts before we summarize them.
    			for _, c := range constraint.Conflicts {
    				fmt.Fprintf(os.Stderr, "go: %v\n", c.String())
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    				return
    			}
    
    			// go: directive (but be conservative and test)
    			if strings.HasPrefix(text, "go:") {
    				if p.top && strings.HasPrefix(msg, "//go:build") {
    					if x, err := constraint.Parse(msg); err == nil {
    						p.goVersion = constraint.GoVersion(x)
    					}
    				}
    				if pragh != nil {
    					p.pragma = pragh(p.posAt(line, col+2), p.scanner.blank, text, p.pragma) // +2 to skip over // or /*
    				}
    			}
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    	// Execution recipe is contained in a comment in
    	// the first non-empty line that is not a build constraint.
    	var action string
    	for actionSrc := src; action == "" && actionSrc != ""; {
    		var line string
    		line, actionSrc, _ = strings.Cut(actionSrc, "\n")
    		if constraint.IsGoBuild(line) || constraint.IsPlusBuild(line) {
    			continue
    		}
    		action = strings.TrimSpace(strings.TrimPrefix(line, "//"))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. 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)
  6. src/go/types/expr.go

    		if !allInteger(x.typ) {
    			check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint")
    			x.mode = invalid
    			return
    		}
    		check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint (use ^ for bitwise complement)")
    		op = token.XOR
    	}
    
    	if !check.op(unaryOpPredicates, x, op) {
    		x.mode = invalid
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    This allows the dependency management engine to use the version declared on the constraint if no other version is declared.
    
    [[using_preferred_versions]]
    Consider the following example that replaces the above iteration with an indiscriminate <<rich_versions.adoc#sec:preferred-version,preferred>> version constraint:
    
    =====
    [.multi-language-sample]
    ======
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencySubstitutionRulesIntegrationTest.groovy

                        module('org:lib:1.1')
                    }
                }
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/13658")
        def "constraint shouldn't be converted to hard dependency when a dependency substitution applies on an external module"() {
            def fooModule = mavenRepo.module("org", "foo", "1.0")
            mavenRepo.module("org", "platform", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 52.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    		if !allInteger(x.typ) {
    			check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint")
    			x.mode = invalid
    			return
    		}
    		check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint (use ^ for bitwise complement)")
    		op = syntax.Xor
    	}
    
    	if !check.op(unaryOpPredicates, x, op) {
    		x.mode = invalid
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // Raw is the underlying serialization of this object.
      optional bytes Raw = 1;
    }
    
    // GetOptions is the standard query options to the standard REST get call.
    message GetOptions {
      // resourceVersion sets a constraint on what resource versions a request may be served from.
      // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
      // details.
      //
      // Defaults to unset
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top