Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,721 for rest (0.12 sec)

  1. cmd/lock-rest-client_test.go

    Klaus Post <******@****.***> 1700528975 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen.go

    Klaus Post <******@****.***> 1700528975 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. cmd/lock-rest-server-common_test.go

    		},
    	}
    	creds := globalActiveCred
    	token, err := authenticateNode(creds.AccessKey, creds.SecretKey, "")
    	if err != nil {
    		t.Fatal(err)
    	}
    	return fsDir, locker, token
    }
    
    // Test function to remove lock entries from map based on name & uid combination
    func TestLockRpcServerRemoveEntry(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. cmd/storage-rest-common_gen_test.go

    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodensScannerOptions Msgsize() is inaccurate")
    	}
    
    	vn := nsScannerOptions{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodensScannerOptions(b *testing.B) {
    	v := nsScannerOptions{}
    	var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. internal/dsync/dsync-client_test.go

    	"errors"
    	"net/http"
    	"net/url"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    // ReconnectRESTClient is a wrapper type for rest.Client which provides reconnect on first failure.
    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  6. .github/workflows/trusted_partners.js

      }
    
      const resp_label = await github.rest.issues.addLabels({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        labels: labels
      });
      if (resp_label.status >= 400) {
        console.log(resp_label);
        throw "Error adding labels to PR";
      }
      if (assignees.length > 0) {
        const resp_assign = await github.rest.issues.addAssignees({
    JavaScript
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. internal/dsync/dsync.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 01 19:14:28 GMT 2022
    - 1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Joiner.java

      }
    
      private static Iterable<@Nullable Object> iterable(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
          @CheckForNull
          public Object get(int index) {
            switch (index) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someLongArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableLongArray of(long first, long... rest) {
        checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
      public <E extends Comparable<?>> E min(Iterator<E> iterator) {
        return NaturalOrdering.INSTANCE.max(iterator);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
Back to top