Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 212 for function (0.22 sec)

  1. cmd/routers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/mux"
    )
    
    // Composed function registering routers for only distributed Erasure setup.
    func registerDistErasureRouters(router *mux.Router, endpointServerPools EndpointServerPools) {
    	// Register storage REST router only if its a distributed setup.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  2. internal/config/lambda/event/event.go

    // to the server.
    type GetObjectContext struct {
    	OutputRoute string `json:"outputRoute"`
    	OutputToken string `json:"outputToken"`
    	InputS3URL  string `json:"inputS3Url"`
    }
    
    // Event represents lambda function event, this is undocumented in AWS S3. This
    // structure bases itself on this structure but there is no binding.
    //
    //	{
    //	  "xAmzRequestId": "a2871150-1df5-4dc9-ad9f-3da283ca1bf3",
    //	  "getObjectContext": {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    		tr.curr = &sparseFileReader{tr.curr, sph, 0}
    	}
    	return err
    }
    
    // readGNUSparsePAXHeaders checks the PAX headers for GNU sparse headers.
    // If they are found, then this function reads the sparse map and returns it.
    // This assumes that 0.0 headers have already been converted to 0.1 headers
    // by the PAX header parsing logic.
    func (tr *Reader) readGNUSparsePAXHeaders(hdr *Header) (sparseDatas, error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    	for ok && file != "" {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		// Get the function name
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		// Skip duplicate traces that start with file name, "<autogenerated>"
    		// and also skip traces with function name that starts with "runtime."
    		if !strings.HasPrefix(file, "<autogenerated>") &&
    			!strings.HasPrefix(funcName, "runtime.") {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. cmd/data-scanner-metric.go

    type currentPathTracker struct {
    	name *unsafe.Pointer // contains atomically accessed *string
    }
    
    // currentPathUpdater provides a lightweight update function for keeping track of
    // current objects for each disk.
    // Returns a function that can be used to update the current object
    // and a function to call to when processing finished.
    func (p *scannerMetrics) currentPathUpdater(disk, initial string) (update func(path string), done func()) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    func panic(v any)
    
    // The recover built-in function allows a program to manage behavior of a
    // panicking goroutine. Executing a call to recover inside a deferred
    // function (but not any function called by it) stops the panicking sequence
    // by restoring normal execution and retrieves the error value passed to the
    // call of panic. If recover is called outside the deferred function it will
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. internal/logger/logonce.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"time"
    )
    
    // LogOnce provides the function type for logger.LogOnceIf() function
    type LogOnce func(ctx context.Context, err error, id string, errKind ...interface{})
    
    type onceErr struct {
    	Err   error
    	Count int
    }
    
    // Holds a map of recently logged errors.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_windows.go

    package mountinfo
    
    import (
    	"path/filepath"
    	"sync"
    
    	"golang.org/x/sys/windows"
    )
    
    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // mountPointCache contains results of IsLikelyMountPoint
    var mountPointCache sync.Map
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    	ctxField
    	ctxParam
    	ctxAssign2 // assignment of a single expression to two variables
    	ctxSwitch
    	ctxTypeSwitch
    	ctxFile
    	ctxDecl
    	ctxSpec
    	ctxDefer
    	ctxCall  // any function call other than ctxCall2
    	ctxCall2 // function call whose result is assigned to two variables
    	ctxSelector
    )
    
    // walk walks the AST x, calling visit(f, x, context) for each node.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. internal/event/errors.go

    }
    
    // ErrUnsupportedConfiguration - unsupported configuration error.
    type ErrUnsupportedConfiguration struct{}
    
    func (err ErrUnsupportedConfiguration) Error() string {
    	return "topic or cloud function configuration is not supported"
    }
    
    // ErrDuplicateQueueConfiguration - duplicate queue configuration error.
    type ErrDuplicateQueueConfiguration struct {
    	Queue Queue
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.1K bytes
    - Viewed (0)
Back to top