Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Input (0.3 sec)

  1. src/cmd/cgo/doc.go

    	extern struct MyFunction2_return MyFunction2(int arg1, int arg2, GoString arg3);
    
    found in the _cgo_export.h generated header, after any preambles
    copied from the cgo input files. Functions with multiple
    return values are mapped to functions returning a struct.
    
    Not all Go types can be mapped to C types in a useful way.
    Go struct types are not supported; use a C struct type.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    
    // at reports whether the next tokens are as requested.
    func (p *Parser) at(next ...lex.ScanToken) bool {
    	if len(p.input)-p.inputPos < len(next) {
    		return false
    	}
    	for i, r := range next {
    		if p.input[p.inputPos+i].ScanToken != r {
    			return false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    				t.Fatalf("Error mismatch\n\tGot:  %v\n\tWant: %v", err, ErrFormat)
    			}
    		})
    	}
    }
    
    func TestIssue54801(t *testing.T) {
    	for _, input := range []string{"testdata/readme.zip", "testdata/dd.zip"} {
    		z, err := OpenReader(input)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer z.Close()
    
    		for _, f := range z.File {
    			// Make file a directory
    			f.Name += "/"
    
    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)
  4. src/archive/tar/common.go

    			dst = append(dst, sparseEntry{Offset: pos, Length: end - pos})
    		}
    	}
    	return dst
    }
    
    // invertSparseEntries converts a sparse map from one form to the other.
    // If the input is sparseHoles, then it will output sparseDatas and vice-versa.
    // The input must have been already validated.
    //
    // This function mutates src and returns a normalized map where:
    //   - adjacent fragments are coalesced together
    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)
  5. doc/go1.17_spec.html

    "\U00110000"         // illegal: invalid Unicode code point
    </pre>
    
    <p>
    These examples all represent the same string:
    </p>
    
    <pre>
    "日本語"                                 // UTF-8 input text
    `日本語`                                 // UTF-8 input text as a raw literal
    "\u65e5\u672c\u8a9e"                    // the explicit Unicode code points
    "\U000065e5\U0000672c\U00008a9e"        // the explicit Unicode code points
    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)
  6. src/bytes/bytes.go

    		n += wasSpace & ^isSpace
    		wasSpace = isSpace
    	}
    
    	if setBits >= utf8.RuneSelf {
    		// Some runes in the input slice are not ASCII.
    		return FieldsFunc(s, unicode.IsSpace)
    	}
    
    	// ASCII fast path
    	a := make([][]byte, n)
    	na := 0
    	fieldStart := 0
    	i := 0
    	// Skip spaces in the front of the input.
    	for i < len(s) && asciiSpace[s[i]] != 0 {
    		i++
    	}
    	fieldStart = i
    	for i < len(s) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    		if err := tw.Close(); err == nil {
    			t.Errorf("Close() = %v, want non-nil error", err)
    		}
    	})
    }
    
    func TestSplitUSTARPath(t *testing.T) {
    	sr := strings.Repeat
    
    	vectors := []struct {
    		input  string // Input path
    		prefix string // Expected output prefix
    		suffix string // Expected output suffix
    		ok     bool   // Split success?
    	}{
    		{"", "", "", false},
    		{"abc", "", "", false},
    		{"用戶名", "", "", false},
    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)
  8. doc/go_spec.html

    "\U00110000"         // illegal: invalid Unicode code point
    </pre>
    
    <p>
    These examples all represent the same string:
    </p>
    
    <pre>
    "日本語"                                 // UTF-8 input text
    `日本語`                                 // UTF-8 input text as a raw literal
    "\u65e5\u672c\u8a9e"                    // the explicit Unicode code points
    "\U000065e5\U0000672c\U00008a9e"        // the explicit Unicode code points
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    			prog.To = a[2]
    		case sys.AMD64:
    			prog.From = a[0]
    			prog.AddRestSource(a[1])
    			prog.To = a[2]
    		case sys.ARM64:
    			switch {
    			case arch.IsARM64STLXR(op):
    				// ARM64 instructions with one input and two outputs.
    				prog.From = a[0]
    				prog.To = a[1]
    				if a[2].Type != obj.TYPE_REG {
    					p.errorf("invalid addressing modes for third operand to %s instruction, must be register", op)
    					return
    				}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  10. src/archive/tar/tar_test.go

    			t.Errorf("i=%d: Sys didn't return original *Header", i)
    		}
    	}
    }
    
    func TestHeaderAllowedFormats(t *testing.T) {
    	vectors := []struct {
    		header  *Header           // Input header
    		paxHdrs map[string]string // Expected PAX headers that may be needed
    		formats Format            // Expected formats that can encode the header
    	}{{
    		header:  &Header{},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top