Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,038 for cosines (0.2 sec)

  1. src/image/jpeg/dct_test.go

    func alpha(i int) float64 {
    	if i == 0 {
    		return 1
    	}
    	return math.Sqrt2
    }
    
    var cosines [32]float64 // cosines[k] = cos(π/2 * k/8)
    
    func init() {
    	for k := range cosines {
    		cosines[k] = math.Cos(math.Pi * float64(k) / 16)
    	}
    }
    
    // slowFDCT performs the 8*8 2-dimensional forward discrete cosine transform:
    //
    //	dst[u,v] = (1/8) * Σ_x Σ_y alpha(u) * alpha(v) * src[x,y] *
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    		big = labels1
    	}
    
    	for k, v := range small {
    		if val, match := big[k]; match {
    			if val != v {
    				return true
    			}
    		}
    	}
    
    	return false
    }
    
    // Merge combines given maps, and does not check for any conflicts
    // between the maps. In case of conflicts, second map (labels2) wins
    func Merge(labels1, labels2 Set) Set {
    	mergedMap := Set{}
    
    	for k, v := range labels1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. src/math/cmplx/sin.go

    	return complex(c*ch, -s*sh)
    }
    
    // Complex hyperbolic cosine
    //
    // DESCRIPTION:
    //
    // ccosh(z) = cosh x  cos y + i sinh x sin y .
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    IEEE      -10,+10     30000       2.9e-16     8.1e-17
    
    // Cosh returns the hyperbolic cosine of x.
    func Cosh(x complex128) complex128 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. src/math/sinh.go

    // Copyright 2009 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.
    
    package math
    
    /*
    	Floating-point hyperbolic sine and cosine.
    
    	The exponential func is called for arguments
    	greater in magnitude than 0.5.
    
    	A series is used for arguments smaller in magnitude than 0.5.
    
    	Cosh(x) is computed from the exponential func for
    	all arguments.
    */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/mbarrier.go

    // operations. See also mwbbuf.go.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"internal/goexperiment"
    	"unsafe"
    )
    
    // Go uses a hybrid barrier that combines a Yuasa-style deletion
    // barrier—which shades the object whose reference is being
    // overwritten—with Dijkstra insertion barrier—which shades the object
    // whose reference is being written. The insertion part of the barrier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/math/sin.go

    //
    //      cos.c
    //
    //      Circular cosine
    //
    // SYNOPSIS:
    //
    // double x, y, cos();
    // y = cos( x );
    //
    // DESCRIPTION:
    //
    // Range reduction is into intervals of pi/4.  The reduction error is nearly
    // eliminated by contriving an extended precision modular arithmetic.
    //
    // Two polynomial approximating functions are employed.
    // Between 0 and pi/4 the cosine is approximated by
    //      1  -  x**2 Q(x**2).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. cmd/data-usage_test.go

    		size, objs int
    		flatten    bool
    		oSizes     sizeHistogram
    	}{
    		{
    			path:    "/",
    			size:    1322310,
    			flatten: true,
    			objs:    8,
    			oSizes:  sizeHistogram{0: 2, 1: 3, 2: 2, 4: 1},
    		},
    		{
    			path:   "/",
    			size:   20000,
    			objs:   2,
    			oSizes: sizeHistogram{1: 2},
    		},
    		{
    			path:   "/dir1",
    			size:   1302010,
    			objs:   5,
    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/runtime/memmove_arm64.s

    // srcend R4
    // dstend R5
    // data   R6-R17
    // tmp1   R14
    
    // Copies are split into 3 main cases: small copies of up to 32 bytes, medium
    // copies of up to 128 bytes, and large copies. The overhead of the overlap
    // check is negligible since it is only required for large copies.
    //
    // Large copies use a software pipelined loop processing 64 bytes per iteration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/copy_windows.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"os/exec"
    )
    
    // CopyDir copies the content of a folder
    func CopyDir(src string, dst string) ([]byte, error) {
    	// /E Copies directories and subdirectories, including empty ones.
    	// /H Copies hidden and system files also.
    	return exec.Command("xcopy", "/E", "/H", src, dst).CombinedOutput()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 03 02:45:12 UTC 2023
    - 926 bytes
    - Viewed (0)
  10. licenses/github.com/shopspring/decimal/LICENSE

    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 06 22:59:30 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top