Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,313 for clen (0.22 sec)

  1. src/vendor/golang.org/x/net/route/address.go

    	// care".
    	nlen, alen, slen := int(b[1]), int(b[2]), int(b[3])
    	if nlen == 0xff {
    		nlen = 0
    	}
    	if alen == 0xff {
    		alen = 0
    	}
    	if slen == 0xff {
    		slen = 0
    	}
    	l := 4 + nlen + alen + slen
    	if len(b) < l {
    		return 0, nil, errInvalidAddr
    	}
    	data := b[4:]
    	var name string
    	var addr []byte
    	if nlen > 0 {
    		name = string(data[:nlen])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/io/ioutil/example_test.go

    		log.Fatal(err)
    	}
    
    	defer os.RemoveAll(dir) // clean up
    
    	tmpfn := filepath.Join(dir, "tmpfile")
    	if err := ioutil.WriteFile(tmpfn, content, 0666); err != nil {
    		log.Fatal(err)
    	}
    }
    
    func ExampleTempDir_suffix() {
    	parentDir := os.TempDir()
    	logsDir, err := ioutil.TempDir(parentDir, "*-logs")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer os.RemoveAll(logsDir) // clean up
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 22 23:03:58 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoCachingIntegrationTest.groovy

            def snapshot = reportFile.snapshot()
            then:
            executedAndNotSkipped ":test", ":jacocoTestReport", ":jacocoTestCoverageVerification"
            reportFile.assertIsFile()
    
            when:
            succeeds "clean"
            then:
            reportFile.assertDoesNotExist()
    
            when:
            withBuildCache().run "jacocoTestReport", "jacocoTestCoverageVerification"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/runtime/covermeta.go

    	"unsafe"
    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DispatchingBuildCacheIntegrationTest.groovy

            withBuildCache().run 'clean', cacheableTask
    
            then:
            executedAndNotSkipped(cacheableTask)
            cacheOperations.assertStoredToLocalCacheForTask(cacheableTask)
            cacheOperations.assertNotStoredToRemoteCacheForTask(cacheableTask)
    
            when:
            pullOnly()
            cacheOriginInputFile.text = 'remote'
            withBuildCache().run 'clean', cacheableTask
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 15:17:04 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_nomod.txt

    [exec:echo] go bug
    
    # commands that load the package in the current directory fail
    ! go build
    ! go fmt
    ! go generate
    ! go get
    ! go install
    ! go list
    ! go run
    ! go test
    ! go vet
    
    # clean succeeds, even with -modcache
    go clean -modcache
    
    # doc succeeds for standard library
    go doc unsafe
    
    # env succeeds
    go env
    
    # tool succeeds
    go tool -n test2json
    
    # version succeeds
    go version
    
    -- x.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 29 18:57:53 UTC 2018
    - 644 bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/BuildCacheOutputOriginIntegrationTest.groovy

            def firstBuildId = buildInvocationId
            def firstBuildCacheKey = buildCacheKey(":write")
            originBuildInvocationId(":write") == null
    
            when:
            succeeds "clean", "write"
    
            then:
            skipped ":write"
            def secondBuildId = buildInvocationId
            firstBuildId != secondBuildId
            with(origin(":write")) {
                buildInvocationId == firstBuildId
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 14:10:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/buildcache/LocalTaskOutputCacheCrossBuildPerformanceTest.groovy

                invocation {
                    cleanTasks("clean")
                    args("--build-cache")
                }
                warmUpCount = 2
                invocationCount = 4
            }
            runner.baseline {
                displayName("fully up-to-date")
            }
            runner.baseline {
                displayName("non-cached")
                invocation {
                    cleanTasks('clean')
                }
                warmUpCount = 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/test/groovy/org/gradle/api/plugins/BasePluginTest.groovy

        }
    
        def "creates tasks and applies mappings"() {
            when:
            project.pluginManager.apply(BasePlugin)
    
            then:
            def clean = project.tasks[BasePlugin.CLEAN_TASK_NAME]
            clean instanceOf(Delete)
            clean dependsOn()
            clean.targetFiles.files == [project.buildDir] as Set
    
            and:
            def assemble = project.tasks[BasePlugin.ASSEMBLE_TASK_NAME]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/mkdirTrap/groovy/build.gradle

    def classesDir = file('build/classes')
    classesDir.mkdirs()
    tasks.register('clean', Delete) {
        delete 'build'
    }
    tasks.register('compile') {
        dependsOn 'clean'
        def localClassesDir = classesDir
        doLast {
            if (!localClassesDir.isDirectory()) {
                println 'The class directory does not exist. I can not operate'
                // do something
            }
            // do something
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 406 bytes
    - Viewed (0)
Back to top