Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 800 for eval (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/clean.rc

    #!/bin/rc -e
    # Copyright 2012 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    eval `{go tool dist env -9}
    
    if(! test -x $GOTOOLDIR/dist){
    	echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2]
    	exit noclean
    }
    
    $GOBIN/go clean -i std
    $GOBIN/go tool dist clean
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jun 18 16:13:13 UTC 2015
    - 380 bytes
    - Viewed (0)
  6. internal/s3select/sql/stringfuncs_contrib_test.go

    		{"测试abc", 5, 5, "c", nil},
    	}
    
    	for i, tc := range evalCases {
    		res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length)
    		if res != tc.resExpected || err != tc.errExpected {
    			t.Errorf("Eval Case %d failed: %v %v", i, res, err)
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/resources-project-builder/build-extension-inheritance/sub/pom.xml

            <artifactId>maven-it-plugin-expression</artifactId>
            <version>2.1-SNAPSHOT</version>
            <executions>
              <execution>
                <phase>validate</phase>
                <goals>
                  <goal>eval</goal>
                </goals>
                <configuration>
                  <outputFile>target/extension.properties</outputFile>
                  <expressions>
                    <expression>project/build/extensions</expression>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/resources-project-builder/boolean-interpolation/pom.xml

              </expressions>
            </configuration>
            <executions>
              <execution>
                <id>test</id>
                <phase>validate</phase>
                <goals>
                  <goal>eval</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. 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)
  10. docs/resiliency/resiliency-initial-script.sh

    BUCKET="test-bucket"
    SRC_DIR="/tmp/data"
    INLINED_DIR="/tmp/inlined"
    DEST_DIR="/tmp/dest"
    
    TIMEOUT=10
    while true; do
    	if [[ ${TIMEOUT} -le 0 ]]; then
    		echo retry: timeout while running: mc alias set
    		exit 1
    	fi
    	eval ./mc alias set "${ALIAS_NAME}" "${MINIO_SERVER_URL}" minioadmin minioadmin && break
    	TIMEOUT=$((TIMEOUT - 1))
    	sleep 1
    done
    
    ./mc ready "${ALIAS_NAME}"
    
    ./mc mb "${ALIAS_NAME}"/"${BUCKET}"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top