- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for vmss (0.02 seconds)
-
cmd/peer-rest-server.go
func (s *peerRESTServer) LoadPolicyMappingHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) { objAPI := newObjectLayerFn() if objAPI == nil { return np, grid.NewRemoteErr(errServerNotInitialized) } userOrGroup := mss.Get(peerRESTUserOrGroup) if userOrGroup == "" { return np, grid.NewRemoteErr(errors.New("user-or-group is missing")) } userType, err := strconv.Atoi(mss.Get(peerRESTUserType)) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0) -
internal/grid/types_test.go
t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } if !reflect.DeepEqual(v, v2) { t.Errorf("MSS: %v != %v", v, v2) } } func TestMarshalUnmarshalMSSNil(t *testing.T) { v := MSS(nil) bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } v2 := MSS(make(map[string]string, 1)) left, err := v2.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) != 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/grid/types.go
type Recycler interface { Recycle() } // MSS is a map[string]string that can be serialized. // It is not very efficient, but it is only used for easy parameter passing. type MSS map[string]string // Get returns the value for the given key. func (m *MSS) Get(key string) string { if m == nil { return "" } return (*m)[key] } // Set a key, value pair. func (m *MSS) Set(key, value string) { if m == nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
ci/official/utilities/setup_macos.sh
if command -v brew &> /dev/null && brew list pyenv &> /dev/null; then # On "ventura-slcn" VMs, pyenv is managed via Homebrew. echo "pyenv is installed and managed by homebrew." (brew update && brew upgrade pyenv) || true else echo "pyenv is not managed by homebrew. Installing it via github..." # On "ventura" VMs, pyenv is not managed by Homebrew. Install the latest # pyenv from github. rm -rf "$PYENV_ROOT"
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Oct 06 22:42:26 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/grid/README.md
These must provide `msgp` serialization and deserialization. In the examples we use a `MSS` type, which is a `map[string]string` that is `msgp` serializable. ```go handler := func(request *grid.MSS) (*grid.MSS, *grid.RemoteErr) { fmt.Println("Got request with field", request["myfield"]) // Do something with payloadCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
cmd/peer-s3-client.go
if conn == nil { return madmin.HealResultItem{}, nil } mss := grid.NewMSSWith(map[string]string{ peerS3Bucket: bucket, peerS3BucketDeleted: strconv.FormatBool(opts.Remove), }) ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout()) defer cancel() resp, err := healBucketRPC.Call(ctx, conn, mss) return resp.ValueOrZero(), toStorageErr(err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/grid/grid_test.go
// 1: Echo h1 := NewSingleHandler[*MSS, *MSS](handlerTest, NewMSS, NewMSS) // Handles incoming requests, returns a response handler1 := func(req *MSS) (resp *MSS, err *RemoteErr) { resp = h1.NewResponse() maps.Copy((*resp), *req) return resp, nil } // Return error h2 := NewSingleHandler[*MSS, *MSS](handlerTest2, NewMSS, NewMSS) handler2 := func(req *MSS) (resp *MSS, err *RemoteErr) { defer req.Recycle()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* intentionally, so there is no other way to clean up these threads. (The better solution, * though, would be to run the tests that use TestThread in separate VMs so that their threads * don't hang around during other tests.) */ @Override public void tearDown() throws Exception { try { Thread.class.getMethod("stop").invoke(this); join();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
* intentionally, so there is no other way to clean up these threads. (The better solution, * though, would be to run the tests that use TestThread in separate VMs so that their threads * don't hang around during other tests.) */ @Override public void tearDown() throws Exception { try { Thread.class.getMethod("stop").invoke(this); join();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
.bazelrc
common:rbe_cross_compile_base --remote_instance_name=projects/tensorflow-testing/instances/default_instance # Test-related settings below this point # We cannot run cross-compiled tests on the remote Linux x86 VMs so we need to # force all tests to run locally on the Aarch64 host. test:rbe_cross_compile_base --strategy=TestRunner=local --build_tests_only
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 26 23:20:26 GMT 2025 - 56.8K bytes - Click Count (0)