Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,327 for EXISTS (0.18 sec)

  1. cluster/images/etcd/migrate/data_dir.go

    type VersionFile struct {
    	path string
    }
    
    func (v *VersionFile) nextPath() string {
    	return fmt.Sprintf("%s-next", v.path)
    }
    
    // Exists returns true if a version.txt file exists on the file system.
    func (v *VersionFile) Exists() (bool, error) {
    	return exists(v.path)
    }
    
    // Read parses the version.txt file and returns it's contents.
    func (v *VersionFile) Read() (*EtcdVersionPair, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 09 19:13:17 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-allowed-expressions.xml

      <artifactId>aid</artifactId>
      <groupId>gid</groupId>
      <version>0.1</version>
      <packaging>pom</packaging>
    
      <profiles>
        <profile>
          <id>exists-basedir</id>
          <activation>
            <file>
              <exists>${basedir}/test.txt</exists>
            </file>
          </activation>
        </profile>
        <profile>
          <id>missing-basedir</id>
          <activation>
            <file>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/test/JavaModuleWhiteboxTestExcutionIntegrationTest.groovy

            when:
            succeeds ':test'
    
            then:
            javaClassFile('module-info.class').exists()
            javaClassFile('consumer/MainModule.class').exists()
            classFile('java', 'test', 'consumer/test/MainModuleTest.class').exists()
        }
    
        def "runs whitebox test on module path by tweaking command line arguments"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/qos/qos.go

    		for name, quantity := range container.Resources.Requests {
    			if !isSupportedQoSComputeResource(name) {
    				continue
    			}
    			if quantity.Cmp(zeroQuantity) == 1 {
    				delta := quantity.DeepCopy()
    				if _, exists := requests[name]; !exists {
    					requests[name] = delta
    				} else {
    					delta.Add(requests[name])
    					requests[name] = delta
    				}
    			}
    		}
    		// process limits
    		qosLimitsFound := sets.NewString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/resource/local/DefaultPathKeyFileStoreTest.groovy

            !fsBase.file("a").exists()
            !fsBase.file("a.fslock").exists()
        }
    
        def "can get from backing filestore"() {
            when:
            createFile("abc", "fs/a")
            then:
            store.get("a") != null
            store.get("b") == null
        }
    
        def "get cleans up filestore"() {
            when:
            createFile("abc", "fs/a").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 20 09:57:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

                assert file('foo').exists()
                assert file('bar').exists()
                assert file('baz').exists()
    
                task clean(type: Delete) {
                    delete 'foo'
                    delete file('bar')
                    delete files('baz')
                 }
            """
    
            when:
            succeeds "clean"
    
            then:
            !file('foo').exists()
            !file('bar').exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_profile.txt

    go test -cpuprofile errors.prof errors
    exists -exec errors.test$GOEXE
    
    # Check go test -cpuprofile -o myerrors.test creates errors.test
    go test -cpuprofile errors.prof -o myerrors.test$GOEXE errors
    exists -exec myerrors.test$GOEXE
    
    # Check go test -mutexprofile creates errors.test
    go test -mutexprofile errors.prof errors
    exists -exec errors.test$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 637 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/fields/fields.go

    	}
    	// Sort for determinism.
    	sort.StringSlice(selector).Sort()
    	return strings.Join(selector, ",")
    }
    
    // Has returns whether the provided field exists in the map.
    func (ls Set) Has(field string) bool {
    	_, exists := ls[field]
    	return exists
    }
    
    // Get returns the value in the map for the provided field.
    func (ls Set) Get(field string) string {
    	return ls[field]
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 19 14:50:16 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_sum_readonly.txt

    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod
    ! exists go.sum
    
    # If go.sum exists but contains hashes from an algorithm we don't know about,
    # we should see the same error.
    cp go.sum.h2only go.sum
    ! go list -m all
    stderr '^go: rsc.io/quote@v1.5.2: missing go.sum entry for go.mod file; to add it:\n\tgo mod download rsc.io/quote$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 15:42:09 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/os/exec/internal/fdtest/exists_test.go

    package fdtest
    
    import (
    	"os"
    	"runtime"
    	"testing"
    )
    
    func TestExists(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("Exists not implemented for windows")
    	}
    
    	if !Exists(os.Stdout.Fd()) {
    		t.Errorf("Exists(%d) got false want true", os.Stdout.Fd())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 16 19:41:37 UTC 2021
    - 427 bytes
    - Viewed (0)
Back to top