Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 830 for reuse (0.06 sec)

  1. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // Tests a G being created from within a syscall.
    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). The system is free
    // to reuse thread IDs, so first a thread ID is used to
    // call into Go, and then is used for a Go-created thread.
    //
    // This is a regression test. The trace parser didn't correctly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/reuse_git.txt

    go mod download -reuse=tagtestsv022baddir.json -x -json vcs-test.golang.org/git/tagtests.git@v0.2.2
    ! stdout '"Reuse": true'
    stdout '"URL": ".*/git/tagtests"'
    
    # reuse with stale TagSum
    cp tagtests.json tagtestsbadtagsum.json
    replace 'sMEOGo=' 'sMEoGo=XXX' tagtestsbadtagsum.json
    go mod download -reuse=tagtestsbadtagsum.json -x -json vcs-test.golang.org/git/tagtests.git@latest
    ! stdout '"Reuse": true'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_list_issue61423.txt

    stdout '"Hash": "08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a"'
    ! stdout '"Ref":'
    ! stdout '"TagSum":'
    ! stdout '"Reuse":'
    
    
    # With GOPROXY=direct, the -reuse flag has an effect, but
    # the Origin data from the proxy should not be sufficient
    # for the proxy response to be reused.
    
    env GOPROXY=direct
    
    go list -reuse=proxy-latest.json -m -json vcs-test.golang.org/git/issue61415.git@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_list_issue61415.txt

    stdout '"Ref": "HEAD"'
    stdout '"Hash": "f213069baa68ec26412fb373c7cf6669db1f8e69"'
    stdout '"Reuse": true'
    
    
    # If the hash refers to some other commit instead, the
    # result should not be reused.
    
    replace f213069baa68ec26412fb373c7cf6669db1f8e69 08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a no-nested.json
    
    go list -reuse=no-nested.json -json -m --versions -e vcs-test.golang.org/git/issue61415.git/nested@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 22:15:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/list.go

    			}
    			if m.Origin == nil {
    				continue
    			}
    			m.Reuse = true
    			reuse[module.Version{Path: m.Path, Version: m.Version}] = &m
    			if m.Query != "" {
    				reuse[module.Version{Path: m.Path, Version: m.Query}] = &m
    			}
    		}
    	}
    
    	rs, mods, err := listModules(ctx, LoadModFile(ctx), args, mode, reuse)
    
    	type token struct{}
    	sem := make(chan token, runtime.GOMAXPROCS(0))
    	if mode != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/build.gradle

                from source
                into destination
            }
        }
    }
    
    // tag::fixed-reuse[]
    tasks.register('someTask', MyCopyTask) {
        def projectDir = layout.projectDirectory
        source = projectDir.dir('source')
        destination = projectDir.dir(providers.systemProperty('someDestination')) // <1>
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 607 bytes
    - Viewed (0)
  8. pkg/api/v1/resource/helpers.go

    // resource lists within the inner loop of resource calculations.
    func reuseOrClearResourceList(reuse v1.ResourceList) v1.ResourceList {
    	if reuse == nil {
    		return make(v1.ResourceList, 4)
    	}
    	for k := range reuse {
    		delete(reuse, k)
    	}
    	return reuse
    }
    
    // GetResourceRequestQuantity finds and returns the request quantity for a specific resource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/kotlin/build.gradle.kts

                from(source)
                into(destination)
            }
        }
    }
    
    // tag::fixed-reuse[]
    tasks.register<MyCopyTask>("someTask") {
        val projectDir = layout.projectDirectory
        source = projectDir.dir("source")
        destination = projectDir.dir(providers.systemProperty("someDestination")) // <1>
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 616 bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/download.go

            Sum      string // checksum for path, version (as in go.sum)
            GoModSum string // checksum for go.mod (as in go.sum)
            Origin   any    // provenance of module
            Reuse    bool   // reuse of old module info is safe
        }
    
    The -reuse flag accepts the name of file containing the JSON output of a
    previous 'go mod download -json' invocation. The go command may use this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top