Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for exists (0.14 sec)

  1. src/archive/tar/reader.go

    			for _, c := range blk {
    				if c == '\n' {
    					cntNewline++
    				}
    			}
    		}
    		return nil
    	}
    
    	// nextToken gets the next token delimited by a newline. This assumes that
    	// at least one newline exists in the buffer.
    	nextToken := func() string {
    		cntNewline--
    		tok, _ := buf.ReadString('\n')
    		return strings.TrimRight(tok, "\n")
    	}
    
    	// Parse for the number of entries.
    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)
  2. doc/go_mem.html

    	t.msg = "hello, world"
    	g = t
    }
    
    func main() {
    	go setup()
    	for g == nil {
    	}
    	print(g.msg)
    }
    </pre>
    
    <p>
    Even if <code>main</code> observes <code>g != nil</code> and exits its loop,
    there is no guarantee that it will observe the initialized
    value for <code>g.msg</code>.
    </p>
    
    <p>
    In all these examples, the solution is the same:
    use explicit synchronization.
    </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)
  3. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This contains the valid opcode combinations available
    // in cmd/internal/obj/ppc64/asm9.go which exist for
    // POWER10/ISA 3.1.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB), DUPOK|NOSPLIT, $0
    	BRD R1, R2                              // 7c220176
    	BRH R1, R2                              // 7c2201b6
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 23 20:52:57 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	if !strings.Contains(f, "(") {
    		return f
    	}
    	return spaceParensRx.ReplaceAllString(f, "")
    }
    
    // portRemoved reports whether the given port-specific API feature is
    // okay to no longer exist because its port was removed.
    func portRemoved(feature string) bool {
    	return strings.Contains(feature, "(darwin-386)") ||
    		strings.Contains(feature, "(darwin-386-cgo)")
    }
    
    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)
  5. misc/wasm/wasm_exec_node.js

    require("./wasm_exec");
    
    const go = new Go();
    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top