- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 541 for eval (0.63 sec)
-
internal/bucket/lifecycle/evaluator_test.go
Filter: Filter{}, Expiration: Expiration{ Days: 1, DeleteAll: Boolean{ val: true, set: true, }, set: true, }, }, }, } now = time.Date(2025, time.February, 12, 23, 0, 0, 0, time.UTC) evaluator = NewEvaluator(lc) gotEvents = evaluator.eval(objs, now) wantEvents = []Event{ {Action: DeleteAllVersionsAction}, {Action: NoneAction},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 08 15:41:24 UTC 2025 - 5K bytes - Viewed (0) -
internal/bucket/lifecycle/evaluator.go
return true } } return false } // eval will return a lifecycle event for each object in objs for a given time. func (e *Evaluator) eval(objs []ObjectOpts, now time.Time) []Event { events := make([]Event, len(objs)) var newerNoncurrentVersions int loop: for i, obj := range objs { event := e.policy.eval(obj, now, newerNoncurrentVersions) switch event.Action {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 08 15:41:24 UTC 2025 - 4.6K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
StorageClass string } // Eval returns the lifecycle event applicable now. func (lc Lifecycle) Eval(obj ObjectOpts) Event { return lc.eval(obj, time.Now().UTC(), 0) } // eval returns the lifecycle event applicable at the given now. If now is the // zero value of time.Time, it returns the upcoming lifecycle event. func (lc Lifecycle) eval(obj ObjectOpts, now time.Time, remainingVersions int) Event {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 06:45:06 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* XPathAPI xPathAPI = new XPathAPI(); * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example"); * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]"); * XPathEvaluationResult<?> result = xPathAPI.eval(contextNode, "count(//example)"); * } * </pre> * * <p>Note: This class is not thread-safe. Each thread should create its own instance of XPathAPI.</p> * * @see javax.xml.xpath.XPath
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
internal/s3select/sql/statement.go
if err != nil { return err } } return nil } // Eval - evaluates the Select statement for the given record. It // applies only to non-aggregation queries. // The function returns whether the statement passed the WHERE clause and should be outputted. func (e *SelectStatement) Eval(input, output Record) (Record, error) { ok, err := e.isPassingWhereClause(input) if err != nil || !ok {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
now = now.Add(7 * 24 * time.Hour) evaluator := NewEvaluator(lc) evts := evaluator.eval([]ObjectOpts{obj1, obj2, obj3}, now) // Eval object 1 evt := evts[0] if evt.Action != NoneAction { t.Fatalf("Expected action: %s but got %s", NoneAction, evt.Action) } // Eval object 2 evt = evts[1] if evt.Action != TransitionAction {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 55.5K bytes - Viewed (0) -
Makefile
hotfix-vars: $(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \ sed 's#RELEASE\.\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)T\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)Z#\1-\2-\3T\4:\5:\6Z#')))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Apr 27 00:44:22 UTC 2025 - 11.2K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn
;; *) ;; esac shift done } handle_args "$@" MAVEN_MAIN_CLASS=${MAVEN_MAIN_CLASS:=org.apache.maven.cling.MavenCling} # Build command string for eval cmd="\"$JAVACMD\" \ $MAVEN_OPTS \ $MAVEN_DEBUG_OPTS \ --enable-native-access=ALL-UNNAMED \ -classpath \"$LAUNCHER_JAR\" \ \"-Dclassworlds.conf=$CLASSWORLDS_CONF\" \ \"-Dmaven.home=$MAVEN_HOME\" \Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 10 16:40:06 UTC 2025 - 9.2K bytes - Viewed (0) -
gradlew
# character that might be a shell metacharacter, then use eval to reverse # that process (while maintaining the separation between arguments), and wrap # the whole thing up as a single "set" statement. # # This will of course break if any of these variables contains a newline or # an unmatched quote. # eval "set -- $( printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 18 20:55:41 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
*/ protected String[] getStringsByXPath(final Document document, final String path) { try { final XPathEvaluationResult<?> xObj = getXPathAPI().eval(document, path); switch (xObj.type()) { case BOOLEAN: final Boolean b = (Boolean) xObj.value(); return new String[] { b.toString() }; case NUMBER:Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 9.3K bytes - Viewed (0)