Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for used (0.14 sec)

  1. src/archive/tar/writer.go

    	fmtNum(ustar.devMinor(), hdr.Devminor)
    
    	return &tw.blk
    }
    
    // writeRawFile writes a minimal file with the given name and flag type.
    // It uses format to encode the header format and will write data as the body.
    // It uses default values for all of the other fields (as BSD and GNU tar does).
    func (tw *Writer) writeRawFile(name, data string, flag byte, format Format) error {
    	tw.blk.reset()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. misc/ios/go_ios_exec.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This program can be used as go_ios_$GOARCH_exec by the Go tool.
    // It executes binaries on an iOS device using the XCode toolchain
    // and the ios-deploy program: https://github.com/phonegap/ios-deploy
    //
    // This script supports an extra flag, -lldb, that pauses execution
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  4. doc/go_mem.html

    It allows a counting semaphore to be modeled by a buffered channel:
    the number of items in the channel corresponds to the number of active uses,
    the capacity of the channel corresponds to the maximum number of simultaneous uses,
    sending an item acquires the semaphore, and receiving an item releases
    the semaphore.
    This is a common idiom for limiting concurrency.
    </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)
  5. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADD	$0x3fffffffc000, R27, R5                         // ERROR "cannot use REGTMP as source"
    	AND	$0x22220000, R27, R4                             // ERROR "cannot use REGTMP as source"
    	ANDW	$0x6006000060060, R27, R5                        // ERROR "cannot use REGTMP as source"
    	STP	(R3, R4), 0x1234567(R27)                         // ERROR "REGTMP used in large offset store"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  6. api/go1.19.txt

    pkg go/doc/comment, type LinkDef struct #51082
    pkg go/doc/comment, type LinkDef struct, Text string #51082
    pkg go/doc/comment, type LinkDef struct, URL string #51082
    pkg go/doc/comment, type LinkDef struct, Used bool #51082
    pkg go/doc/comment, type List struct #51082
    pkg go/doc/comment, type List struct, ForceBlankBefore bool #51082
    pkg go/doc/comment, type List struct, ForceBlankBetween bool #51082
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  7. src/bufio/bufio.go

    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    	ErrInvalidUnreadByte = errors.New("bufio: invalid use of UnreadByte")
    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    // Reader implements buffering for an io.Reader object.
    type Reader struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. src/bufio/scan_test.go

    	}
    	err := s.Err()
    	if err != testError {
    		t.Fatalf("expected %q got %v", testError, err)
    	}
    }
    
    // Test that an EOF is overridden by a user-generated scan error.
    func TestErrAtEOF(t *testing.T) {
    	s := NewScanner(strings.NewReader("1 2 33"))
    	// This splitter will fail on last entry, after s.err==EOF.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arm64.go

    	case 3:
    		offset |= 0x6 << 12
    	case 4:
    		offset |= 0x2 << 12
    	default:
    		return 0, errors.New("invalid register numbers in ARM64 register list")
    	}
    	offset |= arrangement
    	// arm64 uses the 60th bit to differentiate from other archs
    	// For more details, refer to: obj/arm64/list7.go
    	offset |= 1 << 60
    	return offset, nil
    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)
  10. src/archive/tar/writer_test.go

    	}
    	if hdr.Gname != chineseGroupname {
    		t.Fatal("Couldn't recover unicode group")
    	}
    	if hdr.Uname != chineseUsername {
    		t.Fatal("Couldn't recover unicode user")
    	}
    }
    
    func TestPaxXattrs(t *testing.T) {
    	xattrs := map[string]string{
    		"user.key": "value",
    	}
    
    	// Create an archive with an xattr
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    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)
Back to top