Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,333 for CASE (0.07 sec)

  1. dockerscripts/download-static-curl.sh

    #!/bin/bash
    
    function download_arch_specific_executable {
    	curl -f -L -s -q \
    		https://github.com/moparisthebest/static-curl/releases/latest/download/curl-$1 \
    		-o /go/bin/curl || exit 1
    	chmod +x /go/bin/curl
    }
    
    case $TARGETARCH in
    "arm64")
    	download_arch_specific_executable aarch64
    	;;
    "s390x")
    	echo "Not downloading static cURL because it does not exist for the $TARGETARCH architecture."
    	;;
    *)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:45:19 UTC 2024
    - 461 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                switch (notification.getCause()) {
                  case EXPIRED:
                    stats[0]++;
                    break;
                  case EXPLICIT:
                    stats[1]++;
                    break;
                  case REPLACED:
                    stats[2]++;
                    break;
                  case SIZE:
                    stats[3]++;
                    break;
                  default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils.go

    			continue
    		}
    		errorCounts[err]++
    	}
    
    	max := 0
    	for err, count := range errorCounts {
    		switch {
    		case max < count:
    			max = count
    			maxErr = err
    
    		// Prefer `nil` over other error values with the same
    		// number of occurrences.
    		case max == count && err == nil:
    			maxErr = err
    		}
    	}
    	return max, maxErr
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. clause/returning_test.go

    				[]clause.Column{{Name: "name"}, {Name: "age"}},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 845 bytes
    - Viewed (0)
  5. tests/count_test.go

    		t.Errorf("count with join, got error: %v, count %v", err, count)
    	}
    
    	var count6 int64
    	if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select(
    		"(CASE WHEN name=? THEN ? ELSE ? END) as name", "count-1", "main", "other",
    	).Count(&count6).Find(&users).Error; err != nil || count6 != 3 {
    		t.Fatalf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
              return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left);
            case CLOSED:
              return aggr.treeAggregate(node.left);
          }
          throw new AssertionError();
        } else {
          return aggr.treeAggregate(node.left)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. internal/config/notify/parse.go

    		}
    	case config.NotifyNSQSubSys:
    		nsqTargets, err := GetNotifyNSQ(cfg[config.NotifyNSQSubSys])
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range nsqTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewNSQTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	case config.NotifyPostgresSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SID.java

         * be resolved in which case the numeric RID is returned. If this
         * SID is a domain SID, this method will return an empty String.
         * 
         * @return the account name
         */
        String getAccountName ();
    
    
        /**
         * Return the domain name of this SID unless it could not be
         * resolved in which case the numeric representation is returned.
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/dataclasses.md

    In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation.
    
    In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
    
    {* ../../docs_src/dataclasses/tutorial003.py hl[1,5,8:11,14:17,23:25,28] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                }
                ri += len;
            }
    
            return null;
        }
        public byte[] initSecContext(byte[] token, int offset, int len) throws SmbException {
            switch (state) {
                case 1:
                    Type1Message msg1 = new Type1Message(ntlmsspFlags, auth.getDomain(), workstation);
                    token = msg1.toByteArray();
    
                    if (log.level >= 4) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
Back to top