Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for i8rand (0.12 sec)

  1. src/runtime/rand.go

    	unlock(&globalRand.lock)
    }
    
    // rand32 is uint32(rand()), called from compiler-generated code.
    //
    //go:nosplit
    func rand32() uint32 {
    	return uint32(rand())
    }
    
    // rand returns a random uint64 from the per-m chacha8 state.
    // Do not change signature: used via linkname from other packages.
    //
    //go:nosplit
    //go:linkname rand
    func rand() uint64 {
    	// Note: We avoid acquirem here so that in the fast path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

            %assign_0_control = tf_executor.island wraps "tf.AssignVariableOp"(%arg0, %arg2) : (!tf_res, tensor<f32>) -> ()
            %assign_1_control = tf_executor.island wraps "tf.AssignVariableOp"(%arg1, %arg3) : (!tf_res, tensor<f32>) -> ()
            %add_out, %add_control = tf_executor.island wraps "tf.Add"(%arg2, %arg3) : (tensor<f32>, tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    namespace mlir {
    
    // Creates a pass that breaks up an island with multiple ops into multiple
    // islands, each with a single op.
    std::unique_ptr<OperationPass<ModuleOp>> CreateBreakUpIslandsPass();
    
    // Creates a pass that converts mlir functions consisting of mlir ops into a
    // tf_executor dialect as a single island.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateFunctionalToExecutorDialectConversionPass();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        mlir::LegalizeNodeName(name);
        return name;
      }
    };
    
    // Finds first inner op if `op` is a tf_executor.island. Otherwise `op` is
    // returned.
    Operation* GetIslandInnerOpOrSelf(mlir::Operation* op) {
      auto island = llvm::dyn_cast<mlir::tf_executor::IslandOp>(op);
      if (island) return &island.GetBody().front();
      return op;
    }
    
    // Stateful helper class to export a function into a Graph.
    class Exporter {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. docs/debugging/inspect/main.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/klauspost/filepathx"
    )
    
    var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	var priv interface{}
    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          return ComputeOutputComponent(
              ValuePort(graph.GetFetch().getFetches()[port[0]]), values);
        return nullptr;
      }
    
      if (auto island = dyn_cast<tf_executor::IslandOp>(op)) {
        if (port.size() == 1)
          return ComputeOutputComponent(
              ValuePort(island.GetYield().getFetches()[port[0]]), values);
        return nullptr;
      }
    
      ValuePort req = ComputeInputComponentFor(op, port);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    // HTTP/1 and HTTP/2). This
    
    package http_test
    
    import (
    	"bufio"
    	"bytes"
    	"compress/gzip"
    	"context"
    	"crypto/rand"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"go/token"
    	"internal/nettrace"
    	"io"
    	"log"
    	mrand "math/rand"
    	"net"
    	. "net/http"
    	"net/http/httptest"
    	"net/http/httptrace"
    	"net/http/httputil"
    	"net/http/internal/testcert"
    	"net/textproto"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top