Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,196 for switch (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void validateMethod(Method method) {
        String desc = method.toString();
    
        assertTrue(desc, isAnyEnter(method) || isWaitFor(method));
    
        switch (method.getParameterTypes().length) {
          case 0:
            assertFalse(desc, isGuarded(method));
            assertFalse(desc, isTimed(method));
            break;
          case 1:
            assertTrue(desc, isGuarded(method));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        BoundType typeAsUpperBound() {
          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    		if tgt.Empty() {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrRemoteTargetNotFoundError, err), r.URL)
    			return
    		}
    		for _, op := range ops {
    			switch op {
    			case madmin.CredentialsUpdateType:
    				if !globalSiteReplicationSys.isEnabled() {
    					// credentials update is possible only in bucket replication. User will never
    					// know the site replicator creds.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    		return
    	}
    
    	// Validate JWT; check clientID in claims matches the one associated with the roleArn
    	if err := globalIAMSys.OpenIDConfig.Validate(r.Context(), roleArn, token, accessToken, r.Form.Get(stsDurationSeconds), claims); err != nil {
    		switch err {
    		case openid.ErrTokenExpired:
    			switch action {
    			case clientGrants:
    				writeSTSErrorResponse(ctx, w, ErrSTSClientGrantsExpiredToken, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

      # Retrieve endpoint summary for endpoint with port 9080.
      istioctl proxy-config endpoint <pod-name[.namespace]> --port 9080
    
      # Retrieve full endpoint with a address (172.17.0.2).
      istioctl proxy-config endpoint <pod-name[.namespace]> --address 172.17.0.2 -o json
    
      # Retrieve full endpoint with a cluster name (outbound|9411||zipkin.istio-system.svc.cluster.local).
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  6. internal/config/api/api.go

    	switch listQuorum {
    	case "strict", "optimal", "reduced", "disk", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    		parts := strings.Split(line, "//")
    		printed := strings.TrimSpace(parts[0])
    		if printed == "" || strings.HasSuffix(printed, ":") { // empty or label
    			continue
    		}
    		seq++
    
    		var hexes string
    		switch len(parts) {
    		default:
    			t.Errorf("%s:%d: unable to understand comments: %s", input, lineno, line)
    		case 1:
    			// no comment
    		case 2:
    			// might be printed form or hex
    			note := strings.TrimSpace(parts[1])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

         *            authority.
         * @param tc
         *            The context that should be used to communicate with the named server.
         * @param sids
         *            The SIDs that should be resolved. After this function is called, the names associated with the SIDs
         *            may be queried with the <tt>toDisplayString</tt>, <tt>getDomainName</tt>, and <tt>getAccountName</tt>
         *            methods.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  9. cmd/http-stats.go

    	st.totalS3Requests.Inc(api)
    
    	// Increment the prometheus http request response histogram with appropriate label
    	httpRequestsDuration.With(prometheus.Labels{"api": api}).Observe(w.TimeToFirstByte.Seconds())
    
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    		// 499 is a good error, shall be counted as canceled.
    		st.totalS3Canceled.Inc(api)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return copyOf(Arrays.asList(elements));
      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            @SuppressWarnings("unchecked") // safe because it came from `collection`
            E element = (E) elements[0];
            return of(element);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top