Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,148 for LookUp (0.21 sec)

  1. src/html/template/template_test.go

    	c.mustExecute(c.lookup("X"), nil, "foo")
    	c.mustNotParse(c.root, `{{define "X"}}bar{{end}}`)
    	c.mustExecute(c.lookup("X"), nil, "foo")
    }
    
    func TestRedefineNestedByTemplateAfterExecution(t *testing.T) {
    	c := newTestCase(t)
    	c.mustParse(c.root, `{{define "X"}}foo{{end}}`)
    	c.mustExecute(c.lookup("X"), nil, "foo")
    	c.mustNotParse(c.lookup("X"), `bar`)
    	c.mustExecute(c.lookup("X"), nil, "foo")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/multiproject/customLayout/kotlin/settings.gradle.kts

    // tag::change-project[]
    rootProject.name = "main"
    // tag::lookup-project[]
    include("project-a")
    // end::change-project[]
    println(rootProject.name)
    println(project(":project-a").name)
    // end::lookup-project[]
    
    // tag::change-project[]
    project(":project-a").projectDir = file("custom/my-project-a")
    project(":project-a").buildFileName = "project-a.gradle.kts"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 384 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_var_init_order.txt

    go 1.20
    
    -- m.go --
    
    package main
    
    import (
    	"flag"
    )
    
    var (
    	fooFlag = flag.String("foo", "", "this should be ok")
    	foo     = flag.Lookup("foo")
    
    	barFlag = flag.String("bar", "", "this should be also ok, but is "+notOK()+".")
    	bar     = flag.Lookup("bar")
    )
    
    func notOK() string {
    	return "not OK"
    }
    
    -- m_test.go --
    
    package main
    
    import (
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 18:14:15 UTC 2022
    - 784 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/multiproject/customLayout/groovy/settings.gradle

    // tag::change-project[]
    rootProject.name = 'main'
    // tag::lookup-project[]
    include('project-a')
    // end::change-project[]
    println rootProject.name
    println project(':project-a').name
    // end::lookup-project[]
    
    // tag::change-project[]
    project(':project-a').projectDir = file('custom/my-project-a')
    project(':project-a').buildFileName = 'project-a.gradle'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 378 bytes
    - Viewed (0)
  5. src/net/conf.go

    		// non-existent resolv.conf means "lookup" defaults
    		// to only "files", without DNS lookups.
    		if errors.Is(dnsConf.err, fs.ErrNotExist) {
    			return hostLookupFiles, dnsConf
    		}
    
    		lookup := dnsConf.lookup
    		if len(lookup) == 0 {
    			// https://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
    			// "If the lookup keyword is not used in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/errsupport.go

    	// If selector and object are in the same package (==), export doesn't matter, otherwise (!=) it does.
    	// Messages depend on whether it's a general lookup or a field lookup in a struct literal.
    	//
    	// case           sel     pkg   have   message (examples for general lookup)
    	// ---------------------------------------------------------------------------------------------------------
    	// ok             x.Foo   ==    Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/idna/trie.go

    var trie = &idnaTrie{}
    
    // lookup determines the type of block n and looks up the value for b.
    // For n < t.cutoff, the block is a simple lookup table. Otherwise, the block
    // is a list of ranges with an accompanying value. Given a matching range r,
    // the value for b is by r.value + (b - r.lo) * stride.
    func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	offset := t.offset[n]
    	header := t.values[offset]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/go/types/named_test.go

    	F P
    }
    
    func (G[P]) M(P) {}
    func (G[P]) N() (p P) { return }
    
    type Inst = G[int]
    	`
    	pkg := mustTypecheck(src, nil, nil)
    
    	var (
    		T        = pkg.Scope().Lookup("T").Type()
    		G        = pkg.Scope().Lookup("G").Type()
    		SrcInst  = pkg.Scope().Lookup("Inst").Type()
    		UserInst = mustInstantiate(b, G, Typ[Int])
    	)
    
    	tests := []struct {
    		name string
    		typ  Type
    	}{
    		{"nongeneric", T},
    		{"generic", G},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 16:29:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            ProjectBuildingResult result = getContainer()
                    .lookup(org.apache.maven.project.ProjectBuilder.class)
                    .build(pomFile, configuration);
            assertEquals(1, result.getProject().getArtifacts().size());
            // multi projects build entry point
            List<ProjectBuildingResult> results = getContainer()
                    .lookup(org.apache.maven.project.ProjectBuilder.class)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/go/importer/importer_test.go

    		}
    
    		lookup := func(path string) (io.ReadCloser, error) {
    			if path != "math/bigger" {
    				t.Fatalf("lookup called with unexpected path %q", path)
    			}
    			f, err := os.Open(target)
    			if err != nil {
    				t.Fatal(err)
    			}
    			return f, nil
    		}
    		imp := ForCompiler(fset, compiler, lookup)
    		pkg, err := imp.Import("math/bigger")
    		if err != nil {
    			t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top