Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Fontaine (0.17 sec)

  1. src/bytes/bytes.go

    		s = s[i+len(sep):]
    	}
    }
    
    // Contains reports whether subslice is within b.
    func Contains(b, subslice []byte) bool {
    	return Index(b, subslice) != -1
    }
    
    // ContainsAny reports whether any of the UTF-8-encoded code points in chars are within b.
    func ContainsAny(b []byte, chars string) bool {
    	return IndexAny(b, chars) >= 0
    }
    
    // ContainsRune reports whether the rune is contained in the UTF-8-encoded byte slice b.
    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)
  2. src/archive/zip/zip_test.go

    	}
    	s := buf.String()
    	zr, err := NewReader(strings.NewReader(s), int64(len(s)))
    	if err != nil {
    		t.Fatalf("NewReader: %v", err)
    	}
    	if got := len(zr.File); got != nFiles {
    		t.Fatalf("File contains %d files, want %d", got, nFiles)
    	}
    	for i := 0; i < nFiles; i++ {
    		want := fmt.Sprintf("%d.dat", i)
    		if zr.File[i].Name != want {
    			t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    // 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
    // implied by the type argument.
    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    // The close built-in function closes a channel, which must be either
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    	if p.peek() != expectedToken {
    		p.errorf("expected %s, found %s", expectedMessage, p.next())
    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    func (p *Parser) have(token lex.ScanToken) bool {
    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. doc/asm.html

    on the <code>TEXT</code> instruction.
    The pointer information can also be omitted if the
    function contains no call instructions.
    Otherwise, the local stack frame must not contain pointers,
    and the assembly must confirm this fact by executing the
    pseudo-instruction <code>NO_LOCAL_POINTERS</code>.
    Because stack resizing is implemented by moving the stack,
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("")))
    	fmt.Println(bytes.Contains([]byte(""), []byte("")))
    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. src/archive/zip/reader.go

    //
    // If any file inside the archive uses a non-local name
    // (as defined by [filepath.IsLocal]) or a name containing backslashes
    // and the GODEBUG environment variable contains `zipinsecurepath=0`,
    // OpenReader returns the reader with an ErrInsecurePath error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    	FormatUSTAR
    
    	// FormatPAX represents the PAX header format defined in POSIX.1-2001.
    	//
    	// PAX extends USTAR by writing a special file with Typeflag TypeXHeader
    	// preceding the original header. This file contains a set of key-value
    	// records, which are used to overcome USTAR's shortcomings, in addition to
    	// providing the ability to have sub-second resolution for timestamps.
    	//
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    See the [ZIP specification] for details.
    
    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. doc/godebug.md

    that controls the execution of certain parts of a Go program.
    The environment variable `GODEBUG`
    can hold a comma-separated list of these settings.
    For example, if a Go program is running in an environment that contains
    
    	GODEBUG=http2client=0,http2server=0
    
    then that Go program will disable the use of HTTP/2 by default in both
    the HTTP client and the HTTP server.
    It is also possible to set the default `GODEBUG` for a given program
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top