Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for Input (0.16 sec)

  1. 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)
  2. src/cmd/cgo/gcc.go

    // gccCmd returns the gcc command line to use for compiling
    // the input.
    func (p *Package) gccCmd() []string {
    	c := append(gccBaseCmd,
    		"-w",          // no warnings
    		"-Wno-error",  // warnings are not errors
    		"-o"+gccTmp(), // write object to tmp
    		"-gdwarf-2",   // generate DWARF v2 debugging symbols
    		"-c",          // do not link
    		"-xc",         // input language is C
    	)
    	if p.GccIsClang {
    		c = append(c,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    // Copyright 2017 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 input extends auto-generated amd64enc.s test suite
    // with manually added tests.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// AVX2GATHER: basic combinations.
    	VPGATHERDQ Y2, (BP)(X7*2), Y1           // c4e2ed904c7d00
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  5. src/bytes/buffer.go

    	if b.lastRead == opInvalid {
    		return errUnreadByte
    	}
    	b.lastRead = opInvalid
    	if b.off > 0 {
    		b.off--
    	}
    	return nil
    }
    
    // ReadBytes reads until the first occurrence of delim in the input,
    // returning a slice containing the data up to and including the delimiter.
    // If ReadBytes encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often io.EOF).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm.go

    		bits = (bits &^ 0xf) | arm.C_SCOND_NONE
    	}
    	prog.Scond = bits
    	return true
    }
    
    // ParseARMCondition parses the conditions attached to an ARM instruction.
    // The input is a single string consisting of period-separated condition
    // codes, such as ".P.W". An initial period is ignored.
    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/asm/internal/lex/lex_test.go

    func drain(input *Input) string {
    	var buf strings.Builder
    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return buf.String()
    		}
    		if tok == '#' {
    			continue
    		}
    		if buf.Len() > 0 {
    			buf.WriteByte('.')
    		}
    		buf.WriteString(input.Text())
    	}
    }
    
    type badLexTest struct {
    	input string
    	error string
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    		errors[fileline] = line
    	}
    
    	// Reconstruct expected errors by independently "parsing" the input.
    	data, err := os.ReadFile(input)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	lineno := 0
    	lines := strings.Split(string(data), "\n")
    	for _, line := range lines {
    		lineno++
    
    		fileline := fmt.Sprintf("%s:%d", input, lineno)
    		if m := errRE.FindStringSubmatch(line); m != nil {
    			all := m[1]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/cmd/asm/doc.go

    		Enable spectre mitigations in list (all, ret).
    	-trimpath prefix
    		Remove prefix from recorded source file paths.
    	-v
    		Print debug output.
    
    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top