Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for doesn (0.2 sec)

  1. doc/go_mem.html

    </p>
    
    <pre>
    *p /= 2
    *p += i
    </pre>
    
    <p>
    If <code>i</code> and <code>*p</code> start equal to 2,
    the original code does <code>*p = 3</code>,
    so a racing thread can read only 2 or 3 from <code>*p</code>.
    The rewritten code does <code>*p = 1</code> and then <code>*p = 3</code>,
    allowing a racing thread to read 1 as well.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		//	----------  0 0      0           0 May 13  2014 file4
    		//
    		// GNU tar v1.27.1 applies global headers to subsequent records,
    		// but does not do the following properly:
    		//	* It does not treat an empty record as deletion.
    		//	* It does not use subsequent global headers to update previous ones.
    		//
    		//	$ gnutar -tvf pax-global-records.tar
    		//	---------- 0/0               0 2017-07-13 19:40 global1
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    // loadImports also depends on context. However, to improve test running time
    // the configuration for each environment is cached across runs.
    func (w *Walker) loadImports() {
    	if w.context == nil {
    		return // test-only Walker; does not use the import map
    	}
    
    	name := contextName(w.context)
    
    	imports, ok := listCache.Load(name)
    	if !ok {
    		listSem <- semToken{}
    		defer func() { <-listSem }()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arm64.go

    	return arm64.IsAtomicInstruction(op)
    }
    
    // IsARM64TBL reports whether the op (as defined by an arm64.A*
    // constant) is one of the TBL-like instructions and one of its
    // inputs does not fit into prog.Reg, so require special handling.
    func IsARM64TBL(op obj.As) bool {
    	switch op {
    	case arm64.AVTBL, arm64.AVTBX, arm64.AVMOVQ:
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    	if len(parts) < 2 {
    		return errorf("%v: missing ':' in output: %q", cmd, out)
    	}
    	importPath = parts[0]
    	if importPath == "" || importPath == "." {
    		return errorf("current directory does not have a Go import path")
    	}
    	isStd, err = strconv.ParseBool(parts[1])
    	if err != nil {
    		return errorf("%v: non-boolean .Standard in output: %q", cmd, out)
    	}
    	if len(parts) >= 4 {
    		modPath = parts[2]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    // The sparse map is stored in the tar header if it's small enough.
    // If it's larger than four entries, then one or more extension headers are used
    // to store the rest of the sparse map.
    //
    // The Header.Size does not reflect the size of any extended headers used.
    // Thus, this function will read from the raw io.Reader to fetch extra headers.
    // This method mutates blk in the process.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue27340/a.go

    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    //
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/lex.go

    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    }
    
    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    type Token struct {
    	ScanToken
    	text string
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    		// Canonicalize spacing in printed form.
    		// First field is opcode, then tab, then arguments separated by spaces.
    		// Canonicalize spaces after commas first.
    		// Comma to separate argument gets a space; comma within does not.
    		var buf []byte
    		nest := 0
    		for i := 0; i < len(printed); i++ {
    			c := printed[i]
    			switch c {
    			case '{', '[':
    				nest++
    			case '}', ']':
    				nest--
    			case ',':
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    					p.errorf("invalid addressing modes for third operand to %s instruction, must be register", op)
    					return
    				}
    				prog.RegTo2 = a[2].Reg
    			case arch.IsARM64TBL(op):
    				// one of its inputs does not fit into prog.Reg.
    				prog.From = a[0]
    				prog.AddRestSource(a[1])
    				prog.To = a[2]
    			case arch.IsARM64CASP(op):
    				prog.From = a[0]
    				prog.To = a[1]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top