Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for modifiers (0.19 sec)

  1. src/cmd/asm/internal/asm/parse.go

    			tok = p.nextToken()
    			if len(operands) == 0 && len(items) == 0 {
    				if p.arch.InFamily(sys.ARM, sys.ARM64, sys.AMD64, sys.I386, sys.RISCV64) && tok == '.' {
    					// Suffixes: ARM conditionals, RISCV rounding mode or x86 modifiers.
    					tok = p.nextToken()
    					str := p.lex.Text()
    					if tok != scanner.Ident {
    						p.errorf("instruction suffix expected identifier, found %s", str)
    					}
    					cond = cond + "." + str
    					continue
    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)
  2. src/archive/zip/reader_test.go

    	if f.Name != ft.Name {
    		t.Errorf("name=%q, want %q", f.Name, ft.Name)
    	}
    	if !ft.Modified.IsZero() && !equalTimeAndZone(f.Modified, ft.Modified) {
    		t.Errorf("%s: Modified=%s, want %s", f.Name, f.Modified, ft.Modified)
    	}
    	if !ft.ModTime.IsZero() && !equalTimeAndZone(f.ModTime(), ft.ModTime) {
    		t.Errorf("%s: ModTime=%s, want %s", f.Name, f.ModTime(), ft.ModTime)
    	}
    
    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)
  3. src/archive/zip/zip_test.go

    		Name:             "foo.txt",
    		UncompressedSize: 987654321,
    		Modified:         time.Now().Local(),
    		ModifiedTime:     1234,
    		ModifiedDate:     5678,
    	}
    	fi := fh.FileInfo()
    	fh2, err := FileInfoHeader(fi)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got, want := fh2.Modified, fh.Modified.UTC(); got != want {
    		t.Errorf("Modified: got %s, want %s\n", got, want)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    func HasSuffix(s, suffix []byte) bool {
    	return len(s) >= len(suffix) && Equal(s[len(s)-len(suffix):], suffix)
    }
    
    // Map returns a copy of the byte slice s with all its characters modified
    // according to the mapping function. If mapping returns a negative value, the character is
    // dropped from the byte slice with no replacement. The characters in s and the
    // output are interpreted as UTF-8-encoded code points.
    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)
  5. doc/go_spec.html

    [<a href="#Go_1.20">Go 1.20</a>]
    </p>
    
    <p>
    The function <code>StringData</code> returns a pointer to the underlying bytes of the <code>str</code> argument.
    For an empty string the return value is unspecified, and may be <code>nil</code>.
    Since Go strings are immutable, the bytes returned by <code>StringData</code> must not be modified
    [<a href="#Go_1.20">Go 1.20</a>].
    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)
  6. src/archive/zip/writer.go

    		fh.Flags |= 0x800
    	}
    
    	fh.CreatorVersion = fh.CreatorVersion&0xff00 | zipVersion20 // preserve compatibility byte
    	fh.ReaderVersion = zipVersion20
    
    	// If Modified is set, this takes precedence over MS-DOS timestamp fields.
    	if !fh.Modified.IsZero() {
    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top