Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,323 for CASE (0.04 sec)

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

      }
    
      private void doEnterScenarioSetUp() {
        switch (scenario) {
          case SATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING:
            enterSatisfyGuardAndLeaveInCurrentThread();
            break;
          case UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING:
            break;
          case SATISFIED_AND_OCCUPIED_BEFORE_ENTERING:
            enterSatisfyGuardAndLeaveInCurrentThread();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "id":
    			z.DiskID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskID")
    				return
    			}
    		case "m":
    			z.ScanMode, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ScanMode")
    				return
    			}
    		case "c":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/sepa.js

    ="";for(d=0;d<b.length;++d)if(b[d][0]===c){e=b[d][2];break}if(""===e)return!1;var f=e.match(/(.{3})/g).map(function(a){var b,c=a.slice(0,1),d=parseInt(a.slice(1),10);switch(c){case"A":b="0-9A-Za-z";break;case"B":b="0-9A-Z";break;case"C":b="A-Za-z";break;case"F":b="0-9";break;case"L":b="a-z";break;case"U":b="A-Z";break;case"W":b="0-9a-z"}return"(["+b+"]{"+d+"})"}),g=new RegExp("^"+f.join("")+"$");return a.length===b[d][1]&&g.test(a.slice(4))};a.formUtils.addValidator({name:"sepa",validatorFunctio...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    				if resCh != nil {
    					resErr = nil
    					select {
    					case resCh <- results:
    					case <-ctx.Done():
    					}
    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    			case resCh <- results:
    			}
    		}
    	}()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    		}
    		var id64 int64
    		switch k {
    		case paxPath:
    			hdr.Name = v
    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    			hdr.Uname = v
    		case paxGname:
    			hdr.Gname = v
    		case paxUid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Uid = int(id64) // Integer overflow possible
    		case paxGid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            switch ( this.ctlCode ) {
            case Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS:
                return new DfsReferralResponseBuffer();
            case Smb2IoctlRequest.FSCTL_SRV_REQUEST_RESUME_KEY:
                return new SrvRequestResumeKeyResponse();
            case Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK:
            case Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  7. schema/utils.go

    			if _, isZero := rel.Field.ValueOf(ctx, value); !isZero {
    				result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
    				switch result.Kind() {
    				case reflect.Struct:
    					reflectResults = reflect.Append(reflectResults, result.Addr())
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < result.Len(); i++ {
    						if elem := result.Index(i); elem.Kind() == reflect.Ptr {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    		expectedResult bool
    	}{
    		// Test case - 1.
    		// Test case with "X-Amz-Content-Sha256" header set, but to empty value but we can't skip.
    		{"X-Amz-Content-Sha256", "", "", "", false},
    
    		// Test case - 2.
    		// Test case with "X-Amz-Content-Sha256" not set so we can skip.
    		{"", "", "", "", true},
    
    		// Test case - 3.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/auth-handler_test.go

    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    		// Test case with query key "AWSAccessKeyId" set.
    		{"", "", false},
    		// Test case - 2.
    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. cmd/healthcheck-handler.go

    		return
    	}
    
    	if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() {
    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    	// Verify if KMS is reachable if its configured
    	if GlobalKMS != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top