Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for 19098 (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    }
    
    func TestMicroTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  MicroTime
    		result string
    	}{
    		{MicroTime{}, "t: null\n"},
    		{DateMicro(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05.000000Z\"\n"},
    		{DateMicro(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05.000000Z\"\n"},
    	}
    
    	for _, c := range cases {
    		input := MicroTimeHolder{c.input}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_cgo_extra_file.txt

    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code. This test case includes an
    # extra empty non-cgo file in the package being checked.
    
    go test -short -cover cgocover4
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover4
    
    go 1.16
    -- notcgo.go --
    package p
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 560 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_cgo_xtest.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test cgo coverage with an external test.
    
    go test -short -cover cgocover2
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover2
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 464 bytes
    - Viewed (0)
  4. test/fixedbugs/issue19078.go

    // run
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 19078: liveness & zero-initialization of results
    // when there is a defer.
    package main
    
    import "unsafe"
    
    func main() {
    	// Construct an invalid pointer.  We do this by
    	// making a pointer which points to the unused space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 13 19:39:15 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_cgo.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code.
    
    go test -short -cover cgocover
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 423 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_build_pkg_select.txt

    env GOCOVERDIR=$WORK/covdata
    exec $WORK/modex.exe
    
    # Restore previous GOCOVERDIR setting
    env GOCOVERDIR=$SAVEGOCOVERDIR
    
    # Examine the result.
    go tool covdata percent -i=$WORK/covdata
    stdout  'coverage:.*[1-9][0-9.]+%'
    
    # The whole enchilada.
    go tool covdata textfmt -i=$WORK/covdata -o=$WORK/covdata/out.txt
    grep 'mode: set' $WORK/covdata/out.txt
    grep 'mod.example/main/main.go:' $WORK/covdata/out.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_cgo_extra_test.txt

    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code. This test case has an external
    # test that tests the code and an in-package test file with
    # no test cases.
    
    go test -short -cover cgocover3
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover3
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 584 bytes
    - Viewed (0)
  8. .github/workflows/sigbuild-docker-branch.yml

      push:
        paths:
          - '.github/workflows/sigbuild-docker-branch.yml'
          - 'tensorflow/tools/tf_sig_build_dockerfiles/**'
          - '!tensorflow/tools/tf_sig_build_dockerfiles/README.md'
        branches:
          - "r[1-9].[0-9]+"
    
    permissions:
      contents: read
    
    jobs:
      docker:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        strategy:
          matrix:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 18:43:43 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierTest.groovy

                result.verified(Stub(PGPPublicKey), false)
            })
            1 * result.failWith(_)
            0 * _
        }
    
        @Issue("https://github.com/gradle/gradle/issues/19089")
        def "should not fail when custom implementation of ModuleComponentIdentifier is verified"() {
            def defaultModuleComponentIdentifier = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("org", "foo"), "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 13:23:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/conversion_test.go

    			t.Errorf("slice string to DeletionPropagation conversion failed: got %v; want %v", *dpPtr, tc.Output)
    		}
    	}
    }
    
    func TestConvertSliceStringToPointerTime(t *testing.T) {
    	t1 := v1.Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC)
    	t1String := t1.Format(time.RFC3339)
    	t2 := v1.Date(2000, time.June, 6, 6, 6, 6, 0, time.UTC)
    	t2String := t2.Format(time.RFC3339)
    
    	tcs := []struct {
    		Input  []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 02 09:39:03 UTC 2019
    - 3.2K bytes
    - Viewed (0)
Back to top