Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for pkt2 (0.17 sec)

  1. test/fixedbugs/bug392.dir/pkg3.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Use the functions in pkg2.go so that the inlined
    // forms get type-checked.
    
    package pkg3
    
    import "./pkg2"
    
    var x = pkg2.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 303 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_multi_main.txt

    -- go.mod --
    module exmod
    
    -- cmd/c1/main.go --
    package main
    
    func main() {}
    
    -- cmd/c2/main.go --
    package main
    
    func main() {}
    
    -- pkg1/pkg1.go --
    package pkg1
    
    -- pkg2/pkg2.go --
    package pkg2
    
    -- exec.go --
    package main
    
    func main() {}
    
    -- c1$GOEXE/keep.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 04 17:30:40 UTC 2019
    - 699 bytes
    - Viewed (0)
  3. tests/test_response_model_data_filter.py

    async def read_pets():
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet1 = PetDB(name="Nibbler", owner=user)
        pet2 = PetDB(name="Zoidberg", owner=user)
        return [pet1, pet2]
    
    
    client = TestClient(app)
    
    
    def test_filter_top_level_model():
        response = client.post(
            "/users", json={"email": "******@****.***", "password": "secret"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. tests/test_response_model_data_filter_no_inheritance.py

    async def read_pets():
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet1 = PetDB(name="Nibbler", owner=user)
        pet2 = PetDB(name="Zoidberg", owner=user)
        return [pet1, pet2]
    
    
    client = TestClient(app)
    
    
    def test_filter_top_level_model():
        response = client.post(
            "/users", json={"email": "******@****.***", "password": "secret"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/instantiate_test.go

    	const src = "package p; type T[P any] int"
    	pkg1 := mustTypecheck(src, nil, nil)
    	pkg2 := mustTypecheck(src, nil, nil)
    	// We consider T1 and T2 to be distinct types, so their instances should not
    	// be deduplicated by the context.
    	T1 := pkg1.Scope().Lookup("T").Type().(*Named)
    	T2 := pkg2.Scope().Lookup("T").Type().(*Named)
    	ctxt := NewContext()
    	res1, err := Instantiate(ctxt, T1, []Type{Typ[Int]}, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. src/net/http/routing_tree_test.go

    		{"GET", "", "/a/b/c/d", "", nil},
    	})
    
    	// A pattern ending in a single wildcard should not match a trailing slash URL.
    	pat2 := "/a/b/{w}"
    	test(buildTree(pat2), []testCase{
    		{"GET", "", "/a/b", "", nil},
    		{"GET", "", "/a/b/", "", nil},
    		{"GET", "", "/a/b/c", pat2, []string{"c"}},
    		{"GET", "", "/a/b/c/d", "", nil},
    	})
    
    	// A pattern ending in a multi wildcard should match both URLs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/go/types/instantiate_test.go

    	const src = "package p; type T[P any] int"
    	pkg1 := mustTypecheck(src, nil, nil)
    	pkg2 := mustTypecheck(src, nil, nil)
    	// We consider T1 and T2 to be distinct types, so their instances should not
    	// be deduplicated by the context.
    	T1 := pkg1.Scope().Lookup("T").Type().(*Named)
    	T2 := pkg2.Scope().Lookup("T").Type().(*Named)
    	ctxt := NewContext()
    	res1, err := Instantiate(ctxt, T1, []Type{Typ[Int]}, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/FilteringClassLoaderSpecSerializerTest.groovy

            def packagePrefixes = [ 'allowed.pkgprefix1.', 'allowed.pkgprefix2' ]
            def disallowedPackagePrefixes = [ 'disallowed.pkgprefix1.', 'disallowed.pkgprefix2.' ]
            def packageNames = [ 'allowed.pkg1', 'allowed.pkg2' ]
            def resourceNames = [ 'allowed.resource1', 'allowed.resource2' ]
            def resourcePrefixes = [ 'allowed.resourcePrefix1.', 'allowed.resourcePrefix2.' ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/reset_test.go

    var testResetConfig = fmt.Sprintf(`apiVersion: %s
    kind: ResetConfiguration
    force: true
    dryRun: true
    cleanupTmpDir: true
    criSocket: %s:///var/run/fake.sock
    certificatesDir: /etc/kubernetes/pki2
    ignorePreflightErrors:
    - a
    - b
    `, kubeadmapiv1.SchemeGroupVersion.String(), defaultURLScheme)
    
    func TestNewResetData(t *testing.T) {
    	// create temp directory
    	tmpDir, err := os.MkdirTemp("", "kubeadm-reset-test")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy

            then:
            executedAndNotSkipped(":lib:compileScala", ":compileScala")
    
            when:
            file("lib/src/main/scala/pkg1/Other.scala").delete()
            file("lib/src/main/scala/pkg2/Other.scala") << """
                package pkg2
    
                class Other
            """
            fails ':build'
    
            then:
            executedAndNotSkipped(":lib:compileScala", ":compileScala")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top