Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 889 for Opcode (0.14 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        auto operators = msubgraph->mutable_operators();
        for (auto op : *operators) {
          auto opcode_idx = op->opcode_index();
          auto opcodes = mutable_model->operator_codes();
          auto opcode = (*opcodes)[opcode_idx]->builtin_code();
          if (opcode == tflite::BuiltinOperator_CUSTOM) {
            std::vector<int32_t> inputs(op->inputs()->begin(), op->inputs()->end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    // Copyright 2016 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 main
    
    import (
    	"fmt"
    )
    
    // Notes:
    //  - Boolean types occupy the entire register. 0=false, 1=true.
    
    // Suffixes encode the bit width of various instructions:
    //
    // D (double word) = 64 bit int
    // W (word)        = 32 bit int
    // H (half word)   = 16 bit int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ppc64/asm.go

    			su.SetRelocAdd(rIdx, r.Add()+int64(ldr.SymGot(targ)))
    		} else if targType == sym.STEXT {
    			if isPLT16_LO_DS {
    				// Expect an ld opcode to nop
    				rewritetonop(target, ldr, su, int64(r.Off()), MASK_OP_LD, OP_LD)
    			} else {
    				// Expect an addis opcode to nop
    				rewritetonop(target, ldr, su, int64(r.Off()), MASK_OP_ADDIS, OP_ADDIS)
    			}
    			// And we can ignore this reloc now.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    	return fcb.encode()
    }
    
    // addFlags32 returns the flags that would be set from computing x+y.
    func addFlags32(x, y int32) flagConstant {
    	var fcb flagConstantBuilder
    	fcb.Z = x+y == 0
    	fcb.N = x+y < 0
    	fcb.C = uint32(x+y) < uint32(x)
    	fcb.V = x >= 0 && y >= 0 && x+y < 0 || x < 0 && y < 0 && x+y >= 0
    	return fcb.encode()
    }
    
    // subFlags32 returns the flags that would be set from computing x-y.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		// timestamps.
    		ByteStringToTime: cbor.ByteStringToTimeAllowed,
    	}.DecMode()
    	if err != nil {
    		panic(err)
    	}
    	return decode
    }()
    
    // DecodeLax is derived from Decode, but does not complain about unknown fields in the input.
    var DecodeLax cbor.DecMode = func() cbor.DecMode {
    	opts := Decode.DecOptions()
    	opts.ExtraReturnErrors &^= cbor.ExtraDecErrorUnknownField // clear bit
    	dm, err := opts.DecMode()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    		// is itself invalid. We reject all invalid text strings at decode time and do not
    		// validate or sanitize all Go strings at encode time. Encoding Go strings to the
    		// byte string type is comparable to the existing Protobuf behavior and cheaply
    		// ensures that the output is valid CBOR.
    		String: cbor.StringToByteString,
    
    		// Encode struct field names to the byte string type rather than the text string
    		// type.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/encoding/gob/encode.go

    // followed by no value.
    func (enc *Encoder) encodeInterface(b *encBuffer, iv reflect.Value) {
    	// Gobs can encode nil interface values but not typed interface
    	// values holding nil pointers, since nil pointers point to no value.
    	elem := iv.Elem()
    	if elem.Kind() == reflect.Pointer && elem.IsNil() {
    		errorf("gob: cannot encode nil pointer of type %s inside interface", iv.Elem().Type())
    	}
    	state := enc.newEncoderState(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    package profile
    
    import (
    	"errors"
    	"sort"
    	"strings"
    )
    
    func (p *Profile) decoder() []decoder {
    	return profileDecoder
    }
    
    // preEncode populates the unexported fields to be used by encode
    // (with suffix X) from the corresponding exported fields. The
    // exported fields are cleared up to facilitate testing.
    func (p *Profile) preEncode() {
    	strings := make(map[string]int)
    	addString(strings, "")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. src/encoding/json/encode.go

    //
    // Otherwise, Marshal uses the following type-dependent default encodings:
    //
    // Boolean values encode as JSON booleans.
    //
    // Floating point, integer, and [Number] values encode as JSON numbers.
    // NaN and +/-Inf values will return an [UnsupportedValueError].
    //
    // String values encode as JSON strings coerced to valid UTF-8,
    // replacing invalid bytes with the Unicode replacement rune.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  10. cmd/erasure-encode.go

    	return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers))
    }
    
    // Encode reads from the reader, erasure-encodes the data and writes to the writers.
    func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
    	writer := &multiWriter{
    		writers:     writers,
    		writeQuorum: quorum,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top