Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for the_tag (0.12 sec)

  1. src/log/syslog/syslog_test.go

    	}
    	if testing.Short() {
    		// Depends on syslog daemon running, and sometimes it's not.
    		t.Skip("skipping syslog test during -short")
    	}
    
    	s, err := New(LOG_INFO|LOG_USER, "the_tag")
    	if err != nil {
    		if err.Error() == "Unix syslog delivery error" {
    			t.Skip("skipping: syslogd not running")
    		}
    		t.Fatalf("New() failed: %s", err)
    	}
    	// Don't send any messages.
    	s.Close()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

        // Take Difference of both estimates: (f(theta + eps) - f(theta - eps)).
        TF_RETURN_IF_ERROR(
            ops::Sub(ctx, fPlus.get(), fMinus.get(), f_outputs, "sub_top"));
        AbstractTensorHandlePtr fDiff(f_outputs[0]);
    
        // Calculate using the difference quotient definition:
        // (f(theta + eps) - f(theta - eps)) / (2 * eps).
        TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/math/cmplx/example_test.go

    }
    
    // ExampleExp computes Euler's identity.
    func ExampleExp() {
    	fmt.Printf("%.1f", cmplx.Exp(1i*math.Pi)+1)
    	// Output: (0.0+0.0i)
    }
    
    func ExamplePolar() {
    	r, theta := cmplx.Polar(2i)
    	fmt.Printf("r: %.1f, θ: %.1f*π", r, theta/math.Pi)
    	// Output: r: 2.0, θ: 0.5*π
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 19:49:12 UTC 2016
    - 567 bytes
    - Viewed (0)
  4. src/math/cmplx/pow.go

    	}
    	modulus := Abs(x)
    	if modulus == 0 {
    		return complex(0, 0)
    	}
    	r := math.Pow(modulus, real(y))
    	arg := Phase(x)
    	theta := real(y) * arg
    	if imag(y) != 0 {
    		r *= math.Exp(-imag(y) * arg)
    		theta += imag(y) * math.Log(modulus)
    	}
    	s, c := math.Sincos(theta)
    	return complex(r*c, r*s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top