Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 747 for y$ (0.09 sec)

  1. src/image/color/ycbcr.go

    }
    
    // YCbCrToRGB converts a Y'CbCr triple to an RGB triple.
    func YCbCrToRGB(y, cb, cr uint8) (uint8, uint8, uint8) {
    	// The JFIF specification says:
    	//	R = Y' + 1.40200*(Cr-128)
    	//	G = Y' - 0.34414*(Cb-128) - 0.71414*(Cr-128)
    	//	B = Y' + 1.77200*(Cb-128)
    	// https://www.w3.org/Graphics/JPEG/jfif3.pdf says Y but means Y'.
    	//
    	// Those formulae use non-integer multiplication factors. When computing,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. src/crypto/elliptic/p224_test.go

    		k, ok := new(big.Int).SetString(e.k, 10)
    		if !ok {
    			t.Errorf("%d: bad value for k: %s", i, e.k)
    		}
    		x, y := p224.ScalarBaseMult(k.Bytes())
    		if fmt.Sprintf("%x", x) != e.x || fmt.Sprintf("%x", y) != e.y {
    			t.Errorf("%d: bad output for k=%s: got (%x, %x), want (%s, %s)", i, e.k, x, y, e.x, e.y)
    		}
    		if testing.Short() && i > 5 {
    			break
    		}
    	}
    }
    
    func TestP224GenericBaseMult(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 19:01:13 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

            sourceFile << """
                #define ARGS_3 ("hello.h")
                #define FUNC_NAME() F
                #define F(X) X
                #define CONCAT_(X, Y) X ## Y
                #define CONCAT(X, Y) CONCAT_(X, Y)
                #define HEADER(X, Y, Z) CONCAT(X ## Y, ARGS_## Z)
                #include HEADER(FUNC_NAME, (), 3)
            """
    
            expect:
            resolve() == [header]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. src/math/big/float.go

    		// want the original x.neg and y.neg values when we evaluate
    		// x.neg != y.neg, so we need to save y.neg before setting z.neg.
    		yneg := y.neg
    
    		z.neg = x.neg
    		if x.neg == yneg {
    			// x + y == x + y
    			// (-x) + (-y) == -(x + y)
    			z.uadd(x, y)
    		} else {
    			// x + (-y) == x - y == -(y - x)
    			// (-x) + y == y - x == -(x - y)
    			if x.ucmp(y) > 0 {
    				z.usub(x, y)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func goPanicIndex(x int, y int)
    func goPanicIndexU(x uint, y int)
    func goPanicSliceAlen(x int, y int)
    func goPanicSliceAlenU(x uint, y int)
    func goPanicSliceAcap(x int, y int)
    func goPanicSliceAcapU(x uint, y int)
    func goPanicSliceB(x int, y int)
    func goPanicSliceBU(x uint, y int)
    func goPanicSlice3Alen(x int, y int)
    func goPanicSlice3AlenU(x uint, y int)
    func goPanicSlice3Acap(x int, y int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p256.go

    			return nil, err
    		}
    
    		// y² = x³ - 3x + b
    		y := p256Polynomial(new(fiat.P256Element), x)
    		if !p256Sqrt(y, y) {
    			return nil, errors.New("invalid P256 compressed point encoding")
    		}
    
    		// Select the positive or negative root, as indicated by the least
    		// significant bit, based on the encoding type byte.
    		otherRoot := new(fiat.P256Element)
    		otherRoot.Sub(otherRoot, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/math_ops.cc

      int num_retvals = 1;
      return op_ptr->Execute(absl::MakeSpan(y, 1), &num_retvals);
    }
    
    // Op: SqrtGrad()
    // Summary: Computes the gradient for the sqrt of `x` wrt its input.
    //
    // Description:
    //   Specifically, `grad = dy * 0.5 / y`, where `y = sqrt(x)`, and `dy`
    //   is the corresponding input gradient.
    Status SqrtGrad(AbstractContext* ctx, AbstractTensorHandle* const y,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  8. src/image/png/writer.go

    	nrgba, _ := m.(*image.NRGBA)
    
    	for y := b.Min.Y; y < b.Max.Y; y++ {
    		// Convert from colors to bytes.
    		i := 1
    		switch cb {
    		case cbG8:
    			if gray != nil {
    				offset := (y - b.Min.Y) * gray.Stride
    				copy(cr[0][1:], gray.Pix[offset:offset+b.Dx()])
    			} else {
    				for x := b.Min.X; x < b.Max.X; x++ {
    					c := color.GrayModel.Convert(m.At(x, y)).(color.Gray)
    					cr[0][i] = c.Y
    					i++
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/fp_test.go

    }
    
    //go:noinline
    func ge32_ssa(x, y float32) bool {
    	return x >= y
    }
    
    //go:noinline
    func lt32_ssa(x, y float32) bool {
    	return x < y
    }
    
    //go:noinline
    func gt32_ssa(x, y float32) bool {
    	return x > y
    }
    
    //go:noinline
    func eq32_ssa(x, y float32) bool {
    	return x == y
    }
    
    //go:noinline
    func ne32_ssa(x, y float32) bool {
    	return x != y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/gradients_test.cc

        auto x = ops::Const(scope_, 1, {3, 2, 4});
        auto y = Unstack(scope_, x, 3);
        TF_ASSERT_OK(scope_.status());
    
        // Add StopGradients according to 'stop_outputs'.
        auto out0 =
            stop_outputs[0] ? StopGradient(scope_, y.output[0]) : y.output[0];
        auto out1 =
            stop_outputs[1] ? StopGradient(scope_, y.output[1]) : y.output[1];
        auto out2 =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
Back to top