Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,869 for handle3 (0.1 sec)

  1. pkg/volume/csi/csi_plugin_test.go

    			specVolID: "test.vol.id",
    			volHandle: "testvol-handle1",
    
    			originSpec: volume.NewSpecFromPersistentVolume(makeTestPV("test.vol.id", 20, testDriver, "testvol-handle1"), true),
    			podUID:     types.UID(fmt.Sprintf("%08X", rand.Uint64())),
    		},
    		{
    			name:       "construct spec2 from original persistent spec",
    			specVolID:  "spec2",
    			volHandle:  "handle2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/handler.go

    type ReadyFunc func() bool
    
    // Handler is a base for admission control handlers that
    // support a predefined set of operations
    type Handler struct {
    	operations sets.String
    	readyFunc  ReadyFunc
    }
    
    // Handles returns true for methods that this handler supports
    func (h *Handler) Handles(operation Operation) bool {
    	return h.operations.Has(string(operation))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 08:47:19 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  3. src/log/slog/handler.go

    // manage this concurrency.
    //
    // Users of the slog package should not invoke Handler methods directly.
    // They should use the methods of [Logger] instead.
    type Handler interface {
    	// Enabled reports whether the handler handles records at the given level.
    	// The handler ignores records whose level is lower.
    	// It is called early, before any arguments are processed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/handler.go

    	Director http.Handler
    }
    
    // HandlerChainBuilderFn is used to wrap the GoRestfulContainer handler using the provided handler chain.
    // It is normally used to apply filtering like authentication and authorization
    type HandlerChainBuilderFn func(apiHandler http.Handler) http.Handler
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 14 17:10:00 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. src/runtime/cgo/handle.go

    //
    // The method panics if the handle is invalid.
    func (h Handle) Value() any {
    	v, ok := handles.Load(uintptr(h))
    	if !ok {
    		panic("runtime/cgo: misuse of an invalid Handle")
    	}
    	return v
    }
    
    // Delete invalidates a handle. This method should only be called once
    // the program no longer needs to pass the handle to C and the C code
    // no longer has a copy of the handle value.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    	HandlerCheckParts2
    
    	// Add more above here ^^^
    	// If all handlers are used, the type of Handler can be changed.
    	// Handlers have no versioning, so non-compatible handler changes must result in new IDs.
    	handlerTest
    	handlerTest2
    	handlerLast
    )
    
    // handlerPrefixes are prefixes for handler IDs used for tracing.
    // If a handler is not listed here, it will be traced with "grid" prefix.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/unique/handle.go

    	"internal/weak"
    	"runtime"
    	"sync"
    	_ "unsafe"
    )
    
    // Handle is a globally unique identity for some value of type T.
    //
    // Two handles compare equal exactly if the two values used to create the handles
    // would have also compared equal. The comparison of two handles is trivial and
    // typically much more efficient than comparing the values used to create them.
    type Handle[T comparable] struct {
    	value *T
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/log/slog/internal/benchmarks/handlers.go

    	*buf = strconv.AppendInt(*buf, t.Unix(), 10)
    }
    
    func (h *fastTextHandler) WithAttrs([]slog.Attr) slog.Handler {
    	panic("fastTextHandler: With unimplemented")
    }
    
    func (*fastTextHandler) WithGroup(string) slog.Handler {
    	panic("fastTextHandler: WithGroup unimplemented")
    }
    
    // An asyncHandler simulates a Handler that passes Records to a
    // background goroutine for processing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 20:33:37 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // criticalErrorHandler handles panics and fatal errors by
    // `panic(logger.ErrCritical)` as done by `logger.CriticalIf`.
    //
    // It should be always the first / highest HTTP handler.
    func setCriticalErrorHandler(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		defer func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. pkg/kubelet/server/stats/handler.go

    	endpoints := []struct {
    		path    string
    		handler restful.RouteFunction
    	}{
    		{"/summary", h.handleSummary},
    	}
    
    	for _, e := range endpoints {
    		for _, method := range []string{"GET", "POST"} {
    			ws.Route(ws.
    				Method(method).
    				Path(e.path).
    				To(e.handler))
    		}
    	}
    
    	return ws
    }
    
    // Handles stats summary requests to /stats/summary
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 21:31:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top