Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for clear (0.16 sec)

  1. doc/next/6-stdlib/99-minor/sync/61696.md

    The [Map.Clear] method deletes all the entries, resulting in
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 10 17:07:25 GMT 2024
    - 105 bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    func imag(c ComplexType) FloatType
    
    // The clear built-in function clears maps and slices.
    // For maps, clear deletes all entries, resulting in an empty map.
    // For slices, clear sets all elements up to the length of the slice
    // to the zero value of the respective element type. If the argument
    // type is a type parameter, the type parameter's type set must
    // contain only map or slice types, and clear performs the operation
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.html

    			mod = result.module;
    			inst = result.instance;
    			document.getElementById("runButton").disabled = false;
    		}).catch((err) => {
    			console.error(err);
    		});
    
    		async function run() {
    			console.clear();
    			await go.run(inst);
    			inst = await WebAssembly.instantiate(mod, go.importObject); // reset instance
    		}
    	</script>
    
    	<button onClick="run();" id="runButton" disabled>Run</button>
    </body>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Oct 02 17:25:11 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  4. src/clean.bat

    >env.bat
    L12:if errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    L22:"%GOBIN%\go" clean -i std
    L23:"%GOBIN%\go" tool dist clean
    L24:"%GOBIN%\go" clean -i cmd
    L25:
    L26:goto end
    L27:
    L28::fail
    L29:set GOBUILDFAIL=1
    L30:
    L31::end
    L32:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Batch File
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 12 16:59:17 GMT 2022
    - 600 bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arch.go

    	instructions["JNZ"] = x86.AJNE  /* alternate */
    	instructions["JO"] = x86.AJOS   /* alternate */
    	instructions["JOC"] = x86.AJOC  /* overflow clear (OF = 0) */
    	instructions["JOS"] = x86.AJOS  /* overflow set (OF = 1) */
    	instructions["JP"] = x86.AJPS   /* alternate */
    	instructions["JPC"] = x86.AJPC  /* parity clear (PF = 0) */
    	instructions["JPE"] = x86.AJPS  /* alternate */
    	instructions["JPL"] = x86.AJPL  /* non-negative (plus) (SF = 0) */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    //
    //	package main
    //
    //	import (
    //		"archive/zip"
    //		"bytes"
    //		"io"
    //		"log"
    //		"os"
    //	)
    //
    //	type zeros struct{}
    //
    //	func (zeros) Read(b []byte) (int, error) {
    //		clear(b)
    //		return len(b), nil
    //	}
    //
    //	func main() {
    //		bigZip := makeZip("big.file", io.LimitReader(zeros{}, 1<<32-1))
    //		if err := os.WriteFile("/tmp/big.zip", bigZip, 0666); err != nil {
    //			log.Fatal(err)
    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)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const EUSERS = 68
    pkg syscall (netbsd-arm64-cgo), const EV_ADD = 1
    pkg syscall (netbsd-arm64-cgo), const EV_ADD ideal-int
    pkg syscall (netbsd-arm64-cgo), const EV_CLEAR = 32
    pkg syscall (netbsd-arm64-cgo), const EV_CLEAR ideal-int
    pkg syscall (netbsd-arm64-cgo), const EV_DELETE = 2
    pkg syscall (netbsd-arm64-cgo), const EV_DELETE ideal-int
    pkg syscall (netbsd-arm64-cgo), const EV_DISABLE = 8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. src/bootstrap.bash

    fi
    
    unset GOROOT
    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    cp -Rp "$src" "$targ"
    cd "$targ"
    echo
    echo "#### Cleaning $targ"
    chmod -R +w .
    rm -f .gitignore
    if [ -e .git ]; then
    	git clean -f -d
    fi
    echo
    echo "#### Building $targ"
    echo
    cd src
    ./make.bash --no-banner $forceflag
    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    %    remainder              integers
    
    &amp;    bitwise AND            integers
    |    bitwise OR             integers
    ^    bitwise XOR            integers
    &amp;^   bit clear (AND NOT)    integers
    
    &lt;&lt;   left shift             integer &lt;&lt; integer &gt;= 0
    &gt;&gt;   right shift            integer &gt;&gt; integer &gt;= 0
    </pre>
    
    
    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)
  10. src/archive/tar/common.go

    	if fi.h.Mode&c_ISUID != 0 {
    		mode |= fs.ModeSetuid
    	}
    	if fi.h.Mode&c_ISGID != 0 {
    		mode |= fs.ModeSetgid
    	}
    	if fi.h.Mode&c_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    
    	// Set file mode bits; clear perm, setuid, setgid, and sticky bits.
    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    	case c_ISDIR:
    		mode |= fs.ModeDir
    	case c_ISFIFO:
    		mode |= fs.ModeNamedPipe
    	case c_ISLNK:
    		mode |= fs.ModeSymlink
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top