Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for legacy (0.18 sec)

  1. src/archive/zip/struct.go

    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    	// date field, and the offset between the times is used as the timezone.
    	// If only the MS-DOS date is present, the timezone is assumed to be UTC.
    	//
    	// When writing, an extended timestamp (which is timezone-agnostic) is
    	// always emitted. The legacy MS-DOS date field is encoded according to the
    	// location of the Modified time.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    		}
    	}
    
    	msdosModified := msDosTimeToTime(f.ModifiedDate, f.ModifiedTime)
    	f.Modified = msdosModified
    	if !modified.IsZero() {
    		f.Modified = modified.UTC()
    
    		// If legacy MS-DOS timestamps are set, we can use the delta between
    		// the legacy and extended versions to estimate timezone offset.
    		//
    		// A non-UTC timezone is always used (even if offset is zero).
    		// Thus, FileHeader.Modified.Location() == time.UTC is useful for
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// VM/Y rejects X index register.
    	VPGATHERQQ Y2, (BP)(X7*2), Y1   // ERROR "invalid instruction"
    	VPGATHERDD Y5, -8(X14*8), Y6    // ERROR "invalid instruction"
    	// No VSIB for legacy instructions.
    	MOVL (AX)(X0*1), AX             // ERROR "invalid instruction"
    	MOVL (AX)(Y0*1), AX             // ERROR "invalid instruction"
    	// VSIB/VM is invalid without vector index.
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    func (tw *Writer) WriteHeader(hdr *Header) error {
    	if err := tw.Flush(); err != nil {
    		return err
    	}
    	tw.hdr = *hdr // Shallow copy of Header
    
    	// Avoid usage of the legacy TypeRegA flag, and automatically promote
    	// it to use TypeReg or TypeDir.
    	if tw.hdr.Typeflag == TypeRegA {
    		if strings.HasSuffix(tw.hdr.Name, "/") {
    			tw.hdr.Typeflag = TypeDir
    		} else {
    			tw.hdr.Typeflag = TypeReg
    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)
  5. doc/go1.17_spec.html

    discard high bits upon overflow, and programs may rely on "wrap around".
    </p>
    <p>
    For signed integers, the operations <code>+</code>,
    <code>-</code>, <code>*</code>, <code>/</code>, and <code>&lt;&lt;</code> may legally
    overflow and the resulting value exists and is deterministically defined
    by the signed integer representation, the operation, and its operands.
    Overflow does not cause a <a href="#Run_time_panics">run-time panic</a>.
    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/archive/zip/writer.go

    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    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)
  7. src/archive/tar/reader.go

    				hdr.Name = gnuLongName
    			}
    			if gnuLongLink != "" {
    				hdr.Linkname = gnuLongLink
    			}
    			if hdr.Typeflag == TypeRegA {
    				if strings.HasSuffix(hdr.Name, "/") {
    					hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories
    				} else {
    					hdr.Typeflag = TypeReg
    				}
    			}
    
    			// The extended headers may have updated the size.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		// function pointers that specify no parameters (e.g. void
    		// (*__cgo_0)()).  Treat this special case as void. This case is
    		// invalid according to ISO C anyway (i.e. void (*__cgo_1)(...) is not
    		// legal).
    		if _, ok := f.(*dwarf.DotDotDotType); ok && i == 0 {
    			p, gp = nil, nil
    			break
    		}
    		p[i] = c.FuncArg(f, pos)
    		gp[i] = &ast.Field{Type: p[i].Go}
    	}
    	var r *Type
    	var gr []*ast.Field
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/bufio/scan.go

    			}
    			loop++
    			if loop > maxConsecutiveEmptyReads {
    				s.setErr(io.ErrNoProgress)
    				break
    			}
    		}
    	}
    }
    
    // advance consumes n bytes of the buffer. It reports whether the advance was legal.
    func (s *Scanner) advance(n int) bool {
    	if n < 0 {
    		s.setErr(ErrNegativeAdvance)
    		return false
    	}
    	if n > s.end-s.start {
    		s.setErr(ErrAdvanceTooFar)
    		return false
    	}
    	s.start += n
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. doc/asm.html

    </p>
    
    <ul>
    <li>
    <code>NOPROF</code> = 1
    <br>
    (For <code>TEXT</code> items.)
    Don't profile the marked function.  This flag is deprecated.
    </li>
    <li>
    <code>DUPOK</code> = 2
    <br>
    It is legal to have multiple instances of this symbol in a single binary.
    The linker will choose one of the duplicates to use.
    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top