Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for substring (0.24 sec)

  1. misc/wasm/wasm_exec.js

    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    					outputBuf = outputBuf.substring(nl + 1);
    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    				if (offset !== 0 || length !== buf.length || position !== null) {
    					callback(enosys());
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. misc/chrome/gophertool/gopher.js

        }
    
        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    Assigning to an element of a <code>nil</code> map causes a
    <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg math/big, method (*Float) SetMode(RoundingMode) *Float
    pkg math/big, method (*Float) SetPrec(uint) *Float
    pkg math/big, method (*Float) SetRat(*Rat) *Float
    pkg math/big, method (*Float) SetString(string) (*Float, bool)
    pkg math/big, method (*Float) SetUint64(uint64) *Float
    pkg math/big, method (*Float) Sign() int
    pkg math/big, method (*Float) Signbit() bool
    pkg math/big, method (*Float) String() string
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg math/big, method (*Int) SetBits([]Word) *Int
    pkg math/big, method (*Int) SetBytes([]uint8) *Int
    pkg math/big, method (*Int) SetInt64(int64) *Int
    pkg math/big, method (*Int) SetString(string, int) (*Int, bool)
    pkg math/big, method (*Int) Sign() int
    pkg math/big, method (*Int) String() string
    pkg math/big, method (*Int) Sub(*Int, *Int) *Int
    pkg math/big, method (*Int) Xor(*Int, *Int) *Int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. src/bufio/scan.go

    	done         bool      // Scan has finished.
    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. doc/go_spec.html

    Assigning to an element of a <code>nil</code> map causes a
    <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    		start int
    		end   int
    	}
    	spans := make([]span, 0, 32)
    
    	// Find the field start and end indices.
    	// Doing this in a separate pass (rather than slicing the string s
    	// and collecting the result substrings right away) is significantly
    	// more efficient, possibly due to cache effects.
    	start := -1 // valid span start if >= 0
    	for i := 0; i < len(s); {
    		size := 1
    		r := rune(s[i])
    		if r >= utf8.RuneSelf {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    	// TODO(rsc): more work on 32-bit platforms
    	C.mpz_set_si(&z.i[0], C.long(x))
    	return z
    }
    
    // SetString interprets s as a number in the given base
    // and sets z to that value.  The base must be in the range [2,36].
    // SetString returns an error if s cannot be parsed or the base is invalid.
    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top