Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 215 for original (0.14 sec)

  1. src/image/jpeg/reader.go

    	// we assume that it is YCbCrK. This matches libjpeg's jdapimin.c.
    	if d.adobeTransform != adobeTransformUnknown {
    		// Convert the YCbCr part of the YCbCrK to RGB, invert the RGB to get
    		// CMY, and patch in the original K. The RGB to CMY inversion cancels
    		// out the 'Adobe inversion' described in the applyBlack doc comment
    		// above, so in practice, only the fourth channel (black) is inverted.
    		bounds := d.img3.Bounds()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. src/io/io.go

    	return s.r, s.base, s.n
    }
    
    // An OffsetWriter maps writes at offset base to offset base+off in the underlying writer.
    type OffsetWriter struct {
    	w    WriterAt
    	base int64 // the original offset
    	off  int64 // the current offset
    }
    
    // NewOffsetWriter returns an [OffsetWriter] that writes to w
    // starting at offset off.
    func NewOffsetWriter(w WriterAt, off int64) *OffsetWriter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. src/testing/fuzz.go

    		// replacing a nil panic value). Nothing should recover after fRunner
    		// unwinds, so this should crash the process and print stack.
    		// Unfortunately, recovering here adds stack frames, but the location of
    		// the original panic should still be
    		// clear.
    		f.checkRaces()
    		if f.Failed() {
    			numFailed.Add(1)
    		}
    		err := recover()
    		if err == nil {
    			f.mu.RLock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. src/go/types/predicates.go

    func identicalOrigin(x, y *Named) bool {
    	// TODO(gri) is this correct?
    	return x.Origin().obj == y.Origin().obj
    }
    
    // identicalInstance reports if two type instantiations are identical.
    // Instantiations are identical if their origin and type arguments are
    // identical.
    func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/cache.go

    	if file == "" {
    		return nil
    	}
    
    	if info.Origin != nil {
    		// Clean the origin information, which might have too many
    		// validation criteria, for example if we are saving the result of
    		// m@master as m@pseudo-version.
    		clean := *info
    		info = &clean
    		o := *info.Origin
    		info.Origin = &o
    
    		// Tags never matter if you are starting with a semver version,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768.go

    // slice with the contents of the given slice followed by that many bytes and a
    // second slice that aliases into it and contains only the extra bytes. If the
    // original slice has sufficient capacity then no allocation is performed.
    func sliceForAppend(in []byte, n int) (head, tail []byte) {
    	if total := len(in) + n; cap(in) >= total {
    		head = in[:total]
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. src/os/signal/signal_test.go

    	// because the runtime is not supposed to be listening for them.
    	// Either way, TestStop should still be able to catch them when it wants them
    	// and then when it stops wanting them, the original behavior should resume.
    	//
    	// send_uncaught_sighup=1 sends the SIGHUP before starting to listen for SIGHUPs.
    	// send_uncaught_sighup=2 sends the SIGHUP after no longer listening for SIGHUPs.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  8. src/net/lookup.go

    type onlyValuesCtx struct {
    	context.Context
    	lookupValues context.Context
    }
    
    var _ context.Context = (*onlyValuesCtx)(nil)
    
    // Value performs a lookup if the original context hasn't expired.
    func (ovc *onlyValuesCtx) Value(key any) any {
    	select {
    	case <-ovc.lookupValues.Done():
    		return nil
    	default:
    		return ovc.lookupValues.Value(key)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/expr.go

    			return walkExpr(r, init)
    		}
    	}
    	return n
    }
    
    // walkIndex walks an OINDEX node.
    func walkIndex(n *ir.IndexExpr, init *ir.Nodes) ir.Node {
    	n.X = walkExpr(n.X, init)
    
    	// save the original node for bounds checking elision.
    	// If it was a ODIV/OMOD walk might rewrite it.
    	r := n.Index
    
    	n.Index = walkExpr(n.Index, init)
    
    	// if range of type cannot exceed static array bound,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. src/database/sql/convert.go

    )
    
    var errNilPtr = errors.New("destination pointer is nil") // embedded in descriptive error
    
    func describeNamedValue(nv *driver.NamedValue) string {
    	if len(nv.Name) == 0 {
    		return fmt.Sprintf("$%d", nv.Ordinal)
    	}
    	return fmt.Sprintf("with name %q", nv.Name)
    }
    
    func validateNamedValueName(name string) error {
    	if len(name) == 0 {
    		return nil
    	}
    	r, _ := utf8.DecodeRuneInString(name)
    	if unicode.IsLetter(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top