Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for single (0.23 sec)

  1. src/cmd/cgo/godefs.go

    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    	// If we know that C.xxx should format as T
    	// and xxx is a typedef for yyy, make C.yyy format as T.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	if err != nil {
    		return err
    	}
    	r.r = rdr
    	r.baseOffset = baseOffset
    	// Since the number of directory records is not validated, it is not
    	// safe to preallocate r.File without first checking that the specified
    	// number of files is reasonable, since a malformed archive may
    	// indicate it contains up to 1 << 128 - 1 files. Since each file has a
    	// header which will be _at least_ 30 bytes we can safely preallocate
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </p>
    
    <p>
    The simplest form represents the single character within the quotes;
    since Go source text is Unicode characters encoded in UTF-8, multiple
    UTF-8-encoded bytes may represent a single integer value.  For
    instance, the literal <code>'a'</code> holds a single byte representing
    a literal <code>a</code>, Unicode U+0061, value <code>0x61</code>, while
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/asm.html

    <code>NOPROF</code> = 1
    <br>
    (For <code>TEXT</code> items.)
    Don't profile the marked function.  This flag is deprecated.
    </li>
    <li>
    <code>DUPOK</code> = 2
    <br>
    It is legal to have multiple instances of this symbol in a single binary.
    The linker will choose one of the duplicates to use.
    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    Don't insert the preamble to check if the stack must be split.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    					t.Errorf("Equal(%d, %d, %d) = false", len, x, y)
    				}
    			}
    		}
    	}
    }
    
    // make sure Equal returns false for minimally different strings. The data
    // is all zeros except for a single one in one location.
    func TestNotEqual(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    
    	for len := 0; len <= size; len++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast.go

    			break
    		}
    	}
    }
    
    type astContext int
    
    const (
    	ctxProg astContext = iota
    	ctxEmbedType
    	ctxType
    	ctxStmt
    	ctxExpr
    	ctxField
    	ctxParam
    	ctxAssign2 // assignment of a single expression to two variables
    	ctxSwitch
    	ctxTypeSwitch
    	ctxFile
    	ctxDecl
    	ctxSpec
    	ctxDefer
    	ctxCall  // any function call other than ctxCall2
    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)
  7. doc/README.md

        > cp -r initial/* next
    
    Then edit `next/1-intro.md` to refer to the next version.
    
    To prepare the release notes for a release, run `golang.org/x/build/cmd/relnote generate`.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    dynamic libraries, cgo supports an "external" linking mode too. In
    external linking mode, cmd/link does not process any host object files.
    Instead, it collects all the Go code and writes a single go.o object
    file containing it. Then it invokes the host linker (usually gcc) to
    combine the go.o object file and any supporting non-Go code into a
    final executable. External linking avoids the dynamic library
    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)
  9. src/bytes/buffer_test.go

    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    			if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm.go

    		bits = (bits &^ 0xf) | arm.C_SCOND_NONE
    	}
    	prog.Scond = bits
    	return true
    }
    
    // ParseARMCondition parses the conditions attached to an ARM instruction.
    // The input is a single string consisting of period-separated condition
    // codes, such as ".P.W". An initial period is ignored.
    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
Back to top