Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for declareNS (0.3 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    	// Find the generic methods stored on N.
    	gm, gn := N.Method(0), N.Method(1)
    	if gm.Name() == "n" {
    		gm, gn = gn, gm
    	}
    
    	// Collect objects from info.
    	var dm, dn *Func   // the declared methods
    	var dmm, dmn *Func // the methods used in the body of m
    	for _, decl := range f.DeclList {
    		fdecl, ok := decl.(*syntax.FuncDecl)
    		if !ok {
    			continue
    		}
    		def := info.Defs[fdecl.Name].(*Func)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    	// Find the generic methods stored on N.
    	gm, gn := N.Method(0), N.Method(1)
    	if gm.Name() == "n" {
    		gm, gn = gn, gm
    	}
    
    	// Collect objects from info.
    	var dm, dn *Func   // the declared methods
    	var dmm, dmn *Func // the methods used in the body of m
    	for _, decl := range f.Decls {
    		fdecl, ok := decl.(*ast.FuncDecl)
    		if !ok {
    			continue
    		}
    		def := info.Defs[fdecl.Name].(*Func)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    			s2, _ = p.parseSimpleStmt(basic)
    		}
    		if p.tok == token.SEMICOLON {
    			p.next()
    			s1 = s2
    			s2 = nil
    			if p.tok != token.LBRACE {
    				// A TypeSwitchGuard may declare a variable in addition
    				// to the variable declared in the initial SimpleStmt.
    				// Introduce extra scope to avoid redeclaration errors:
    				//
    				//	switch t := 0; t := x.(T) { ... }
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/net/http/request.go

    	// Trailer specifies additional headers that are sent after the request
    	// body.
    	//
    	// For server requests, the Trailer map initially contains only the
    	// trailer keys, with nil values. (The client declares which trailers it
    	// will later send.)  While the handler is reading from Body, it must
    	// not reference Trailer. After reading from Body returns EOF, Trailer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    	RemoteMachineHandle Handle
    	remoteMachineName   [SP_MAX_MACHINENAME_LENGTH]uint16
    }
    
    func (*DevInfoListDetailData) unsafeSizeOf() uint32 {
    	if unsafe.Sizeof(uintptr(0)) == 4 {
    		// Windows declares this with pshpack1.h
    		return uint32(unsafe.Offsetof(DevInfoListDetailData{}.remoteMachineName) + unsafe.Sizeof(DevInfoListDetailData{}.remoteMachineName))
    	}
    	return uint32(unsafe.Sizeof(DevInfoListDetailData{}))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    include::{snippetsPath}/native-binaries/cunit/tests/completeCUnitExample.out[]
    ----
    
    [NOTE]
    ====
    The current support for CUnit is quite rudimentary. Plans for future integration include:
    
    * Allow tests to be declared with Javadoc-style annotations.
    * Improved HTML reporting, similar to that available for JUnit.
    * Real-time feedback for test execution.
    * Support for additional test frameworks.
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. src/net/http/httputil/reverseproxy_test.go

    func TestReverseProxyStripHeadersPresentInConnection(t *testing.T) {
    	const fakeConnectionToken = "X-Fake-Connection-Token"
    	const backendResponse = "I am the backend"
    
    	// someConnHeader is some arbitrary header to be declared as a hop-by-hop header
    	// in the Request's Connection header.
    	const someConnHeader = "X-Some-Conn-Header"
    
    	backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  8. src/html/template/exec_test.go

    		a int
    		b string
    	}{7, "seven"}, true},
    
    	// Variables.
    	{"$ int", "{{$}}", "123", 123, true},
    	{"$.I", "{{$.I}}", "17", tVal, true},
    	{"$.U.V", "{{$.U.V}}", "v", tVal, true},
    	{"declare in action", "{{$x := $.U.V}}{{$x}}", "v", tVal, true},
    	{"simple assignment", "{{$x := 2}}{{$x = 3}}{{$x}}", "3", tVal, true},
    	{"nested assignment",
    		"{{$x := 2}}{{if true}}{{$x = 3}}{{end}}{{$x}}",
    		"3", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencySubstitutionRulesIntegrationTest.groovy

                            variant "default"
                            selectedByRule()
                        }
                    }
                }
            }
        }
    
        void "can replace external dependency declared in extended configuration with project dependency"() {
            mavenRepo.module("org.utils", "api", '1.5').publish()
    
            createDirs("api", "impl")
            settingsFile << 'include "api", "impl"'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 52.8K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    		a int
    		b string
    	}{7, "seven"}, true},
    
    	// Variables.
    	{"$ int", "{{$}}", "123", 123, true},
    	{"$.I", "{{$.I}}", "17", tVal, true},
    	{"$.U.V", "{{$.U.V}}", "v", tVal, true},
    	{"declare in action", "{{$x := $.U.V}}{{$x}}", "v", tVal, true},
    	{"simple assignment", "{{$x := 2}}{{$x = 3}}{{$x}}", "3", tVal, true},
    	{"nested assignment",
    		"{{$x := 2}}{{if true}}{{$x = 3}}{{end}}{{$x}}",
    		"3", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top