Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 2,461 for Case (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/MavenSimpleConfiguration.java

        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
            switch (level) {
                case DEBUG:
                    value = "debug";
                    break;
    
                case INFO:
                    value = "info";
                    break;
    
                default:
                    value = "error";
                    break;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. cmd/tier_test.go

    		globalTierMetrics.logFailure(tier)
    	}
    	metrics := globalTierMetrics.Report()
    	var succ, fail float64
    	for _, metric := range metrics {
    		switch metric.Description.Name {
    		case tierRequestsSuccess:
    			succ += metric.Value
    		case tierRequestsFailure:
    			fail += metric.Value
    		}
    	}
    	if int(succ) != expSuccess {
    		t.Fatalf("Expected %d successes but got %f", expSuccess, succ)
    	}
    	if int(fail) != expFailure {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 21 04:13:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	var listSTSKeys, listServiceAccounts bool
    	switch listType {
    	case madmin.AccessKeyListUsersOnly:
    		listSTSKeys = false
    		listServiceAccounts = false
    	case madmin.AccessKeyListSTSOnly:
    		listSTSKeys = true
    		listServiceAccounts = false
    	case madmin.AccessKeyListSvcaccOnly:
    		listSTSKeys = false
    		listServiceAccounts = true
    	case madmin.AccessKeyListAll:
    		listSTSKeys = true
    		listServiceAccounts = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class_test.go

    			},
    			RRS: StorageClass{
    				Parity: 2,
    			},
    			initialized: true,
    		}
    		// Set env var for test case 4
    		if i+1 == 4 {
    			scfg.RRS.Parity = 7
    		}
    		// Set env var for test case 5
    		if i+1 == 5 {
    			scfg.Standard.Parity = 6
    		}
    		// Set env var for test case 6
    		if i+1 == 6 {
    			scfg.Standard.Parity = 7
    		}
    		parity := scfg.GetParityForSC(tt.sc)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            boolean packaged = false;
            for (String phase : getLifecycles(project)) {
                switch (phase) {
                    case "clean":
                        packaged = false;
                        break;
                    case "package":
                    case "install":
                    case "deploy":
                        packaged = true;
                        break;
                    default:
                        break;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    			})
    		}
    	}
    }
    
    func (s *InformerHandlers) reconcile(input any) error {
    	event := input.(controllers.Event)
    	switch event.Latest().(type) {
    	case *corev1.Namespace:
    		return s.reconcileNamespace(input)
    	case *corev1.Pod:
    		return s.reconcilePod(input)
    	default:
    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. clause/expression_test.go

    				t.Errorf("generated SQL is not equal, expects %v, but got %v", result.Result, stmt.SQL.String())
    			}
    		})
    	}
    }
    
    func TestNamedExpr(t *testing.T) {
    	type Base struct {
    		Name2 string
    	}
    
    	type NamedArgument struct {
    		Name1 string
    		Base
    	}
    
    	results := []struct {
    		SQL          string
    		Result       string
    		Vars         []interface{}
    		ExpectedVars []interface{}
    	}{{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    			evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo)
    			switch {
    			case evt.Action.DeleteRestored(): // if restored copy has expired,delete it synchronously
    				applyExpiryOnTransitionedObject(ctx, newObjectLayerFn(), objInfo, evt, lcEventSrc_Heal)
    				return false
    			case evt.Action.Delete():
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_Heal)
    				return true
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket.
       * This method returns false in that case, and in any other case where this web socket is closing,
       * closed, or canceled.
       *
       * This method returns immediately.
       */
      fun send(text: String): Boolean
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		POLICY_INFO_ACCOUNT_DOMAIN = 5,
    		POLICY_INFO_SERVER_ROLE    = 6,
    		POLICY_INFO_MODIFICATION   = 9,
    		POLICY_INFO_DNS_DOMAIN     = 12
    	};
    
    	typedef [switch_type(short)] union {
    		[case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain;
    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    	typedef struct {
    		[range(0,1000)] uint32_t num_sids;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top