Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,784 for nmPath (0.11 sec)

  1. src/math/atan.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    /*
    	Floating-point arctangent.
    */
    
    // The original C code, the long comment, and the constants below were
    // from http://netlib.sandia.gov/cephes/cmath/atan.c, available from
    // http://www.netlib.org/cephes/cmath.tgz.
    // The go code is a version of the original C.
    //
    // atan.c
    // Inverse circular tangent (arctangent)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. src/math/tan.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    /*
    	Floating-point tangent.
    */
    
    // The original C code, the long comment, and the constants
    // below were from http://netlib.sandia.gov/cephes/cmath/sin.c,
    // available from http://www.netlib.org/cephes/cmath.tgz.
    // The go code is a simplified version of the original C.
    //
    //      tan.c
    //
    //      Circular tangent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 08 17:27:54 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. src/math/sin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    /*
    	Floating-point sine and cosine.
    */
    
    // The original C code, the long comment, and the constants
    // below were from http://netlib.sandia.gov/cephes/cmath/sin.c,
    // available from http://www.netlib.org/cephes/cmath.tgz.
    // The go code is a simplified version of the original C.
    //
    //      sin.c
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/pod_cache.go

    }
    
    func openNetnsInRoot(hostMountsPath string) func(nspath string) (NetnsCloser, error) {
    	return func(nspath string) (NetnsCloser, error) {
    		nspathInContainer := filepath.Join(hostMountsPath, nspath)
    		ns, err := OpenNetns(nspathInContainer)
    		if err != nil {
    			err = fmt.Errorf("failed to open netns: %w. Make sure that the netns host path %s is mounted in under %s in the container", err, nspath, hostMountsPath)
    			log.Error(err.Error())
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    	}
    }
    
    static void
    matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test)
    {
    	int	i;
    
    	for (; nmatch > nsub + 1; nmatch--)
    		if ((match[nmatch-1].rm_so != -1 || match[nmatch-1].rm_eo != -1) && (!(test & TEST_IGNORE_POSITION) || match[nmatch-1].rm_so >= 0 && match[nmatch-1].rm_eo >= 0))
    			break;
    	for (i = 0; i < nmatch; i++)
    	{
    		printf("(");
    		matchoffprint(match[i].rm_so);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. src/cmd/cover/cfg_test.go

    		t.Fatal(err)
    	}
    	mpath := filepath.Join(mdir, "covmeta.xxx")
    	incfg := writePkgConfig(t, instdir, tag, ppath, pname, gran, mpath)
    	_, _, errmsg := runPkgCover(t, instdir, tag, incfg, mode,
    		pkg1files, false)
    	if errmsg != "" {
    		t.Fatalf("runPkgCover err: %q", errmsg)
    	}
    
    	// Check for existence of meta-data file.
    	if inf, err := os.Open(mpath); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/netns_linux.go

    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    	if err != nil {
    		n.Close()
    		return nil, err
    	}
    	return &NetnsWrapper{innerNetns: n, inode: i}, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 31 10:05:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/math/example_test.go

    func ExampleExpm1() {
    	fmt.Printf("%.6f\n", math.Expm1(0.01))
    	fmt.Printf("%.6f\n", math.Expm1(-1))
    	// Output:
    	// 0.010050
    	// -0.632121
    }
    
    func ExampleTrunc() {
    	fmt.Printf("%.2f\n", math.Trunc(math.Pi))
    	fmt.Printf("%.2f\n", math.Trunc(-1.2345))
    	// Output:
    	// 3.00
    	// -1.00
    }
    
    func ExampleCbrt() {
    	fmt.Printf("%.2f\n", math.Cbrt(8))
    	fmt.Printf("%.2f\n", math.Cbrt(27))
    	// Output:
    	// 2.00
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/float_test.go

    		t.Errorf("d9 <= d1 returned true")
    	}
    	if math.NaN() == math.NaN() {
    		t.Errorf("math.NaN() == math.NaN() returned true")
    	}
    	if math.NaN() >= math.NaN() {
    		t.Errorf("math.NaN() >= math.NaN() returned true")
    	}
    	if math.NaN() <= math.NaN() {
    		t.Errorf("math.NaN() <= math.NaN() returned true")
    	}
    	if math.Copysign(math.NaN(), -1) < math.NaN() {
    		t.Errorf("math.Copysign(math.NaN(), -1) < math.NaN() returned true")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/sqrtConst_test.go

    	in   float64 // used for error messages, not an input
    	got  float64
    }{
    	{"sqrtNaN", math.NaN(), math.Sqrt(math.NaN())},
    	{"sqrtNegative", -1, math.Sqrt(-1)},
    	{"sqrtNegInf", math.Inf(-1), math.Sqrt(math.Inf(-1))},
    }
    
    func TestSqrtConst(t *testing.T) {
    	for _, test := range tests {
    		if test.got != test.want {
    			t.Errorf("%s: math.Sqrt(%f): got %f, want %f\n", test.name, test.in, test.got, test.want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.3K bytes
    - Viewed (0)
Back to top