Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

                diag << "entities '' failed to satisfy constraint: has no use";
              });
        }
    
        if (!(((*root.getODSResults(2).begin()).use_empty()))) {
          return rewriter.notifyMatchFailure(
              fused_batch_norm_op, [&](::mlir::Diagnostic &diag) {
                diag << "entities '' failed to satisfy constraint: has no use";
              });
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/buildlist.go

    	// version unacceptable. (Path always has len ≥ 1.)
    	Path []module.Version
    
    	// If Err is nil, Constraint is a module version passed in the mustSelect
    	// argument that has the same module path as, and a lower version than,
    	// the last element of the Path slice.
    	Constraint module.Version
    
    	// If Constraint is unset, Err is an error encountered when loading the
    	// requirements of the last element in Path.
    	Err error
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

            then:
            noExceptionThrown()
    
    
        }
    
        def 'optional dependency marked as no longer pending reverts to pending if hard edge disappears (remover has constraint: #dependsOptional, root has constraint: #constraintsOptional)'() {
            given:
            def optional = mavenRepo.module('org', 'optional', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/go/parser/parser.go

    		}
    	}
    
    	for {
    		p.pos, p.tok, p.lit = p.scanner.Scan()
    		if p.tok == token.COMMENT {
    			if p.top && strings.HasPrefix(p.lit, "//go:build") {
    				if x, err := constraint.Parse(p.lit); err == nil {
    					p.goVersion = constraint.GoVersion(x)
    				}
    			}
    			if p.mode&ParseComments == 0 {
    				continue
    			}
    		} else {
    			// Found a non-comment; top of file is over.
    			p.top = false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. 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)
Back to top