Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for names (0.14 sec)

  1. src/cmd/cgo/doc.go

    environment variables work in a similar way for C++ code.
    
    # Go references to C
    
    Within the Go file, C's struct field names that are keywords in Go
    can be accessed by prefixing them with an underscore: if x points at a C
    struct with a field named "type", x._type accesses the field.
    C struct fields that cannot be expressed in Go, such as bit fields
    or misaligned data, are omitted in the Go struct, replaced by
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    	entryNames := []string{`/`, `//`, `\`, `/test.txt`}
    	var names []string
    	for _, f := range r.File {
    		names = append(names, f.Name)
    		if _, err := f.Open(); err != nil {
    			t.Errorf("Error opening %q: %v", f.Name, err)
    		}
    		if _, err := r.Open(f.Name); err == nil {
    			t.Errorf("Opening %q with fs.FS API succeeded", f.Name)
    		}
    	}
    	if !reflect.DeepEqual(names, entryNames) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    		return
    	}
    	if goname == "malloc" {
    		goname = "_CMalloc"
    	}
    	name := f.Name[goname]
    	if name == nil {
    		name = &Name{
    			Go: goname,
    		}
    		f.Name[goname] = name
    		f.NamePos[name] = sel.Pos()
    	}
    	f.Ref = append(f.Ref, &Ref{
    		Name:    name,
    		Expr:    n,
    		Context: context,
    	})
    }
    
    // Save calls to C.xxx for later processing.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			}
    			// Invent new Name for the two-result function.
    			n := f.Name["2"+r.Name.Go]
    			if n == nil {
    				n = new(Name)
    				*n = *r.Name
    				n.AddError = true
    				n.Mangle = "_C2func_" + n.Go
    				f.Name["2"+r.Name.Go] = n
    			}
    			expr = getNewIdent(n.Mangle)
    			r.Name = n
    			break
    		}
    	case ctxExpr:
    		switch r.Name.Kind {
    		case "func":
    			if builtinDefs[r.Name.C] != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/12-telemetry.yml

    name: Go Telemetry Proposals
    description: New telemetry counter or update on an existing one
    title: "x/telemetry/config: proposal title"
    labels: ["Telemetry-Proposal"]
    projects: ["golang/29"]
    body:
    - type: textarea
      attributes:
        label: Counter names
        description: Names of counters to add or update.
      validations:
        required: true
    - type: textarea
      attributes:
        label: Description
        description: What do these counters measure?
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    struct {
    	T1        // field name is T1
    	*T2       // field name is T2
    	P.T3      // field name is T3
    	*P.T4     // field name is T4
    	x, y int  // field names are x and y
    }
    </pre>
    
    <p>
    The following declaration is illegal because field names must be unique
    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/mips64.s

    // RET
    //
    //	LRETRN	comma // asm doesn't support the trailing comma.
    //	{
    //		outcode(int($1), &nullgen, 0, &nullgen);
    //	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    // More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB) // CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    	NEGV	R1, R2 // 0001102f
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  8. lib/time/mkzip.go

    		if err != nil {
    			log.Fatal(err)
    		}
    		if strings.HasSuffix(path, ".zip") {
    			log.Fatalf("unexpected file during walk: %s", path)
    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    			Method:             zip.Store,
    			CompressedSize64:   uint64(len(data)),
    			UncompressedSize64: uint64(len(data)),
    			CRC32:              crc32.ChecksumIEEE(data),
    		})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. doc/asm.html

    is the name <code>foo</code> as an address in memory.
    This form is used to name global functions and data.
    Adding <code>&lt;&gt;</code> to the name, as in <span style="white-space: nowrap"><code>foo&lt;&gt;(SB)</code></span>, makes the name
    visible only in the current source file, like a top-level <code>static</code> declaration in a C file.
    Adding an offset to the name refers to that offset from the symbol's address, so
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/1-time.md

    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top