Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for vmss (0.03 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/storage-rest-server.go

    	storageReadVersionRPC      = grid.NewSingleHandler[*grid.MSS, *FileInfo](grid.HandlerReadVersion, grid.NewMSS, func() *FileInfo { return &FileInfo{} })
    	storageReadXLRPC           = grid.NewSingleHandler[*grid.MSS, *RawFileInfo](grid.HandlerReadXL, grid.NewMSS, func() *RawFileInfo { return &RawFileInfo{} })
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  5. 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)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @Nullable Object instance, Invokable<?, ?> invokable, int paramIndex, Class<?> testedClass) {
        /*
         * com.google.common is starting to rely on type-use annotations, which aren't visible under
         * Android VMs and in open-source guava-android. So we skip testing there.
         */
        if (Reflection.getPackageName(testedClass).startsWith("com.google.common")) {
          return;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. 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)
  8. guava-testlib/src/com/google/common/testing/NullPointerTester.java

              : NullnessAnnotationReader.FROM_DECLARATION_ANNOTATIONS_ONLY;
    
      /**
       * Looks for declaration nullness annotations and, if supported, type-use nullness annotations.
       *
       * <p>Under Android VMs, the methods for retrieving type-use annotations don't exist. This means
       * that {@link NullPointerTester} may misbehave under Android when used on classes that rely on
       * type-use annotations.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. internal/grid/handlers.go

    			return resp, nil
    		}
    		return resp, ErrDisconnected
    	}
    	payload, err := req.MarshalMsg(GetByteBufferCap(req.Msgsize()))
    	if err != nil {
    		return resp, err
    	}
    	switch any(req).(type) {
    	case *MSS, *URLValues:
    		ctx = context.WithValue(ctx, TraceParamsKey{}, req)
    	case *NoPayload, *Bytes:
    		// do not need to trace nopayload and bytes payload
    	default:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
Back to Top