Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 212 for function (0.83 sec)

  1. cmd/metrics-v3-types.go

    	Descriptors []MetricDescriptor
    	// (Optional) Extra (constant) label KV pairs to be added to each metric in
    	// the group.
    	ExtraLabels map[string]string
    
    	// Loader functions to load metrics. Only one of these will be set. Metrics
    	// returned by these functions must be present in the `Descriptors` list.
    	loader       MetricsLoaderFn
    	bucketLoader BucketMetricsLoaderFn
    
    	// Cache for all metrics groups. Set via `.SetCache` method.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // FuncName - SQL function name.
    type FuncName string
    
    // SQL Function name constants
    const (
    	// Conditionals
    	sqlFnCoalesce FuncName = "COALESCE"
    	sqlFnNullIf   FuncName = "NULLIF"
    
    	// Conversion
    	sqlFnCast FuncName = "CAST"
    
    	// Date and time
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. cmd/os_other.go

    	// baseDir is not honored in plan9 and solaris platforms.
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	d, err := Open(dirPath)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. internal/s3select/sql/analysis.go

    // aggregation.
    //
    // Aggregation functions - An expression that involves aggregation of
    // rows in some manner. Requires all input rows to be processed,
    // before a result is returned.
    //
    // Row function - An expression that depends on a value in the
    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. internal/ioutil/read_file.go

    import (
    	"io"
    	"io/fs"
    	"os"
    
    	"github.com/minio/minio/internal/disk"
    )
    
    var (
    	// OpenFileDirectIO allows overriding default function.
    	OpenFileDirectIO = disk.OpenFileDirectIO
    	// OsOpen allows overriding default function.
    	OsOpen = os.Open
    	// OsOpenFile allows overriding default function.
    	OsOpenFile = os.OpenFile
    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. cni/pkg/util/podutil_test.go

    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    		// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
    		{
    			name: "pod has annotation to disable ambient redirection",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithAmbientDisabledAnnotation,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    // Run runs the given function, passing it a stopper channel. If the deadline passes before
    // the function finishes executing, Run returns context.DeadlineExceeded to the caller.
    // channel so that the work function can attempt to exit gracefully.
    // Multiple calls to Run will run independently of each other.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/addr2line/main.go

    //
    //	go tool addr2line binary
    //
    // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix,
    // from standard input. For each input address, addr2line prints two output lines,
    // first the name of the function containing the address and second the file:line
    // of the source code corresponding to that address.
    //
    // This tool is intended for use only by pprof; its interface may change or
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  9. cmd/lock-rest-server-common_test.go

    package cmd
    
    import (
    	"context"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. internal/s3select/sql/evaluate.go

    // check for errors, but do not perform any combining of the results
    // of child nodes. The final result row is returned after all rows are
    // processed, and the `getAggregate` function is called.
    
    func (e *AliasedExpression) evalNode(r Record, tableAlias string) (*Value, error) {
    	return e.Expression.evalNode(r, tableAlias)
    }
    
    func (e *Expression) evalNode(r Record, tableAlias string) (*Value, error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top