Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 353 for exists (0.33 sec)

  1. utils/utils_test.go

    		}
    	}
    }
    
    func TestContains(t *testing.T) {
    	containsTests := []struct {
    		name  string
    		elems []string
    		elem  string
    		out   bool
    	}{
    		{"exists", []string{"1", "2", "3"}, "1", true},
    		{"not exists", []string{"1", "2", "3"}, "4", false},
    	}
    	for _, test := range containsTests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := Contains(test.elems, test.elem); test.out != out {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/projects/transform/after.pom

            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
              <exists>simple.xml</exists>
            </file>
          </activation>
          <properties>
            <profile.file>activated</profile.file>
          </properties>
        </profile>
      </profiles>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. cmd/acl-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Before proceeding validate if bucket exists.
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	aclHeader := r.Header.Get(xhttp.AmzACL)
    	if aclHeader == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

                if (Os.IS_WINDOWS) {
                    Path tool = bin.resolve(toolName + ".exe");
                    if (Files.exists(tool)) {
                        return tool;
                    }
                }
                Path tool = bin.resolve(toolName);
                if (Files.exists(tool)) {
                    return tool;
                }
            }
            return null;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers.go

    	}
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketLifecycleAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/env.h

      // this thread.
      int numa_node;
    } TF_ThreadOptions;
    
    // Creates the specified directory. Typical status code are:
    //  * TF_OK - successfully created the directory
    //  * TF_ALREADY_EXISTS - directory already exists
    //  * TF_PERMISSION_DENIED - dirname is not writable
    TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status);
    
    // Deletes the specified directory. Typical status codes are:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

      while true; do
        rematch=${BASH_REMATCH[1]}
        add_KUBECONFIG_if_exists "$rematch"
        remainder="${BASH_REMATCH[2]}"
        if [[ ! "$remainder" =~ ([^:]*):(.*) ]]; then
          if [[ -n "$remainder" ]]; then
            add_KUBECONFIG_if_exists "$remainder"
            break
          fi
        fi
      done
    else
      add_KUBECONFIG_if_exists "$1"
    fi
    }
    
    KUBECONFIG=${KUBECONFIG:="$HOME/.kube/config"}
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil_test.go

    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    		// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is missing.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                q = q.replace(s, SPACE);
            }
            final boolean exists = q.indexOf(OR) != -1 || q.indexOf(OR_ALT) != -1;
            queryBuf.append(' ');
            if (exists) {
                queryBuf.append('(');
            }
            queryBuf.append(query);
            if (exists) {
                queryBuf.append(')');
            }
        }
    
        protected String buildBaseQuery() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top