Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 904 for eval (0.15 sec)

  1. 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())
    }
    
    // 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) Event {
    	var events []Event
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. 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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    		UserTags: "priority=low",
    	}
    
    	// Go back seven days in the past
    	now = now.Add(7 * 24 * time.Hour)
    
    	// Eval object 1
    	evt := lc.eval(obj1, now)
    	if evt.Action != NoneAction {
    		t.Fatalf("Expected action: %s but got %s", NoneAction, evt.Action)
    	}
    
    	// Eval object 2
    	evt = lc.eval(obj2, now)
    	if evt.Action != TransitionAction {
    		t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  4. internal/config/browser/browser.go

    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   browserCSPPolicy,
    			Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline';",
    		},
    		config.KV{
    			Key:   browserHSTSSeconds,
    			Value: "0",
    		},
    		config.KV{
    			Key:   browserHSTSIncludeSubdomains,
    			Value: config.EnableOff,
    		},
    		config.KV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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#')))
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  6. 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" |
    Shell Script
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. common/scripts/tracing.sh

        { set -x; } 2>/dev/null
      fi
      return "$result"
    }
    
    # Usage: tracing::decorate <function>
    # Automatically makes a function traced.
    function tracing::decorate() {
    eval "\
    function $1() {
    _$(typeset -f "$1")
    tracing::run '$1' _$1
    }
    "
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess

    #    -v            print fess version, then exit
    #    -D prop       set JAVA system property
    #    -X prop       set non-standard JAVA system property
    #   --prop=val
    #   --prop val     set fess property (i.e.  -Des.<prop>=<val>)
    
    CDPATH=""
    SCRIPT="$0"
    
    # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
    while [ -h "$SCRIPT" ] ; do
      ls=`ls -ld "$SCRIPT"`
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. fastapi/_compat.py

        from pydantic._internal._schema_generation_shared import (  # type: ignore[attr-defined]
            GetJsonSchemaHandler as GetJsonSchemaHandler,
        )
        from pydantic._internal._typing_extra import eval_type_lenient
        from pydantic._internal._utils import lenient_issubclass as lenient_issubclass
        from pydantic.fields import FieldInfo
        from pydantic.json_schema import GenerateJsonSchema as GenerateJsonSchema
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. Makefile.core.mk

    	GOOS=linux GOARCH=$(GOARCH_LOCAL) LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $(TARGET_OUT_LINUX)/ -tags=$(2) $(1)
    endif
    endef
    
    $(foreach bin,$(STANDARD_BINARIES),$(eval $(call build-linux,$(bin),$(STANDARD_TAGS))))
    $(foreach bin,$(LINUX_AGENT_BINARIES),$(eval $(call build-linux,$(bin),$(AGENT_TAGS))))
    
    # Create helper targets for each binary, like "pilot-discovery"
    # As an optimization, these still build everything
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
Back to top