Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 266 for tid1 (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile_test.go

    import (
    	"context"
    	"io/ioutil"
    	"os"
    	"reflect"
    	"testing"
    
    	"k8s.io/apiserver/pkg/authentication/user"
    )
    
    func TestTokenFile(t *testing.T) {
    	auth, err := newWithContents(t, `
    token1,user1,uid1
    token2,user2,uid2
    token3,user3,uid3,"group1,group2"
    token4,user4,uid4,"group2"
    token5,user5,uid5,group5
    token6,user6,uid6,group5,otherdata
    token7,user7,uid7,"group1,group2",otherdata
    `)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_lazy_test_of_test_dep.txt

    	# TODO(#36460): The hint here is wrong. We should suggest
    	# 'go get -t example.com/b@v0.1.0' instead of 'go mod tidy'.
    stderr '^go: updates to go\.mod needed; to update it:\n\tgo mod tidy$'
    
    [!short] ! go test -c -o $devnull example.com/b
    [!short] stderr '^go: updates to go\.mod needed; to update it:\n\tgo mod tidy$'
    
    go get -t example.com/b@v0.1.0
    go list -test -deps example.com/b
    stdout example.com/c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 08 19:32:28 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_get_lazy_upgrade_lazy.txt

    # Check that 'go get -u' will upgrade a dependency (direct or indirect)
    # when the main module and the dependency are both lazy.
    # Verifies #47768.
    
    # Check that go.mod is tidy, and an upgrade is available.
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod go.mod.orig
    
    go list -m -u example.com/lazyupgrade
    stdout '^example.com/lazyupgrade v0.1.0 \[v0.1.1\] => ./lazyupgrade@v0.1.0$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 17:58:12 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/dropm.go

    extern void GoCheckM();
    
    static void* thread(void* arg __attribute__ ((unused))) {
    	GoCheckM();
    	return NULL;
    }
    
    static void CheckM() {
    	pthread_t tid;
    	pthread_create(&tid, NULL, thread, NULL);
    	pthread_join(tid, NULL);
    	pthread_create(&tid, NULL, thread, NULL);
    	pthread_join(tid, NULL);
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"os"
    )
    
    func init() {
    	register("EnsureDropM", EnsureDropM)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotComponentIdentifierTest.groovy

            then:
            assert strictlyEquals(id1, same)
            assert id1.hashCode() != differentVersion.hashCode()
            assert id1 != differentVersion
            assert id1.hashCode() != differentTimestamp
            assert id1 != differentTimestamp
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_ambiguous_pkg.txt

    # Both example.net/ambiguous v0.1.0 and example.net/ambiguous/pkg v0.1.0 exist.
    # 'go mod tidy' would arbitrarily choose the one with the longer path,
    # but 'go mod tidy' also arbitrarily chooses the latest version.
    
    cp go.mod go.mod.orig
    
    
    # From a clean slate, 'go get' currently does the same thing as 'go mod tidy':
    # it resolves the package from the module with the longest matching prefix.
    
    go get example.net/ambiguous/nested/pkg@v0.1.0
    go list -m all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. hack/update-vendor.sh

            | xargs -L 100 go mod edit
      )
    done
    
    
    # Phase 5: sort and tidy staging components
    
    kube::log::status "go.mod: sorting staging modules" >&11
    # tidy staging repos in reverse dependency order.
    # the content of dependencies' go.mod files affects what `go mod tidy` chooses to record in a go.mod file.
    tidy_unordered="${TMP_DIR}/tidy_unordered.txt"
    kube::util::list_staging_repos \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_error.txt

    env GO111MODULE=on
    
    # Regression test for golang.org/issue/27063:
    # 'go mod tidy' and 'go mod vendor' should not hide loading errors.
    
    ! go mod tidy
    ! stderr 'package nonexist is not in std'
    stderr '^go: issue27063 imports\n\tnonexist.example.com: cannot find module providing package nonexist.example.com'
    stderr '^go: issue27063 imports\n\tissue27063/other imports\n\tother.example.com/nonexist: cannot find module providing package other.example.com/nonexist'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_require_exclude.txt

    stderr '^go: updates to go.mod needed, disabled by -mod=readonly; to update it:\n\tgo mod tidy$'
    ! stdout '^rsc.io/sampler v1.99.99'
    cmp go.mod go.mod.orig
    
    ! go list -mod=vendor -m rsc.io/sampler
    stderr '^go: ignoring requirement on excluded version rsc.io/sampler v1\.99\.99$'
    stderr '^go: updates to go.mod needed, disabled by -mod=vendor; to update it:\n\tgo mod tidy$'
    ! stdout '^rsc.io/sampler v1.99.99'
    cmp go.mod go.mod.orig
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 15:02:11 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. hack/verify-vendor.sh

    popd > /dev/null 2>&1
    
    if [[ ${ret} -gt 0 ]]; then
      exit ${ret}
    fi
    
    # Ensure we can tidy every repo using only its recorded versions
    for repo in $(kube::util::list_staging_repos); do
      pushd "${_kubetmp}/staging/src/k8s.io/${repo}" >/dev/null 2>&1
        echo "Tidying k8s.io/${repo}..."
        GODEBUG=gocacheverify=1 go mod tidy
      popd >/dev/null 2>&1
    done
    pushd "${_kubetmp}" >/dev/null 2>&1
      echo "Tidying k8s.io/kubernetes..."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top