Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 2,497 for Case (0.04 seconds)

  1. tests/migrate_test.go

    	}
    
    	for _, columnType := range columnTypes {
    		switch columnType.Name() {
    		case "bonus":
    			// allow to change non-nullable to nullable
    			if nullable, _ := columnType.Nullable(); !nullable {
    				t.Fatalf("bonus's nullable should be true, bug got %t", nullable)
    			}
    		case "stock":
    			// do not allow to change nullable to non-nullable
    			if nullable, _ := columnType.Nullable(); !nullable {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

                }
            } else {
                type = parseStorageType(typeStr);
            }
    
            switch (type) {
            case GCS:
                return new GcsStorageClient(fessConfig.getStorageProjectId(), bucket, endpoint, fessConfig.getStorageCredentialsPath());
            case S3:
            case S3_COMPAT:
            default:
                return new S3StorageClient(endpoint, accessKey, secretKey, bucket, fessConfig.getStorageRegion());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. cmd/test-utils_test.go

    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    		default:
    			return nil
    		}
    	}
    
    	pemBlockForKey := func(priv any) *pem.Block {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
    		case *ecdsa.PrivateKey:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            @Override
            public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException {
                return switch (dependency.getManagementKey()) {
                    case BASE1_ID -> new StringModelSource(BASE1);
                    case BASE2_ID -> new StringModelSource(BASE2);
                    default -> null;
                };
            }
        }
    
        static class BaseModelResolver implements ModelResolver {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. cmd/encryption-v1.go

    // set new encryption metadata from http request headers for SSE-C and generated key from KMS in the case of
    // SSE-S3
    func setEncryptionMetadata(r *http.Request, bucket, object string, metadata map[string]string) (err error) {
    	var (
    		key    []byte
    		keyID  string
    		kmsCtx kms.Context
    	)
    	kind, _ := crypto.IsRequested(r.Header)
    	switch kind {
    	case crypto.SSEC:
    		key, err = ParseSSECustomerRequest(r)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  6. cmd/object-api-utils.go

    	r, w := 0, 0
    	if rooted {
    		r, w = 1, 1
    	}
    
    	for r < n {
    		switch {
    		case path[r] > 127:
    			// Non ascii.
    			return true
    		case path[r] == '/':
    			// multiple / elements
    			return true
    		case path[r] == '.' && (r+1 == n || path[r+1] == '/'):
    			// . element - assume it has to be cleaned.
    			return true
    		case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'):
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

                case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_CLIENT_MOVE:
                case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_SHARE_MOVE:
                    if (message.getDestinationNode() != null) {
                        notification.setNewNodeAddress(message.getDestinationNode());
                    }
                    break;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java

                    addedToBuffer = true;
                }
    
                // this has to be a separate "if" statement, to capture the case of: "-Dfoo=bar"
                if (addedToBuffer && arg.endsWith("\"")) {
                    // if we're building an argument, keep doing so.
                    // if this is the case of "-Dfoo=bar", then we need to adjust the buffer.
                    if (!currentArg.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            switch (values[0].toUpperCase(Locale.ROOT)) {
            case "GET":
                return curlHelper.get(path);
            case "POST":
                return curlHelper.post(path);
            case "PUT":
                return curlHelper.put(path);
            case "DELETE":
                return curlHelper.delete(path);
            default:
                break;
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.AggregateFuture.ReleaseResourcesReason.ALL_INPUT_FUTURES_PROCESSED;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
Back to Top