Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for b_cap (0.03 sec)

  1. src/internal/bytealg/indexbyte_loong64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = b_base
    	// R5 = b_len
    	// R6 = b_cap (unused)
    	// R7 = byte to find
    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    	MOVBU	(R4), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
  2. src/internal/bytealg/compare_loong64.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·Compare<ABIInternal>(SB),NOSPLIT,$0-56
    	// R4 = a_base
    	// R5 = a_len
    	// R6 = a_cap (unused)
    	// R7 = b_base (want in R6)
    	// R8 = b_len (want in R7)
    	// R9 = b_cap (unused)
    	MOVV	R7, R6
    	MOVV	R8, R7
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = a_base
    	// R5 = a_len
    	// R6 = b_base
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      std::vector<int> b_size = {};
      std::vector<int> b_map = {};
      PopulateEncodingParams(block_size, &traversal_order, &format, &b_map,
                             &b_size);
    
      if (type.getElementType().isF32()) {
        tflite::internal::sparsity::FormatConverter<float> format_converter(
            shape, traversal_order, format, b_size, b_map);
        std::vector<float> data;
        data.reserve(type.getNumElements());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/universe.go

    	def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}})
    }
    
    // A builtinId is the id of a builtin function.
    type builtinId int
    
    const (
    	// universe scope
    	_Append builtinId = iota
    	_Cap
    	_Clear
    	_Close
    	_Complex
    	_Copy
    	_Delete
    	_Imag
    	_Len
    	_Make
    	_Max
    	_Min
    	_New
    	_Panic
    	_Print
    	_Println
    	_Real
    	_Recover
    
    	// package unsafe
    	_Add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/go/types/universe.go

    	def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}})
    }
    
    // A builtinId is the id of a builtin function.
    type builtinId int
    
    const (
    	// universe scope
    	_Append builtinId = iota
    	_Cap
    	_Clear
    	_Close
    	_Complex
    	_Copy
    	_Delete
    	_Imag
    	_Len
    	_Make
    	_Max
    	_Min
    	_New
    	_Panic
    	_Print
    	_Println
    	_Real
    	_Recover
    
    	// package unsafe
    	_Add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/go/types/builtins.go

    	// false for the evaluation of x so that we can check it afterwards.
    	// Note: We must do this _before_ calling exprList because exprList evaluates
    	//       all arguments.
    	if id == _Len || id == _Cap {
    		defer func(b bool) {
    			check.hasCallOrRecv = b
    		}(check.hasCallOrRecv)
    		check.hasCallOrRecv = false
    	}
    
    	// Evaluate arguments for built-ins that use ordinary (value) arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/builtins.go

    	// false for the evaluation of x so that we can check it afterwards.
    	// Note: We must do this _before_ calling exprList because exprList evaluates
    	//       all arguments.
    	if id == _Len || id == _Cap {
    		defer func(b bool) {
    			check.hasCallOrRecv = b
    		}(check.hasCallOrRecv)
    		check.hasCallOrRecv = false
    	}
    
    	// Evaluate arguments for built-ins that use ordinary (value) arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		cc = append(cc, newComponent(suffix+"_len", asmKind(arch.intSize), "slice len", off+arch.ptrSize, arch.intSize, suffix))
    		cc = append(cc, newComponent(suffix+"_cap", asmKind(arch.intSize), "slice cap", off+arch.ptrSize+arch.intSize, arch.intSize, suffix))
    
    	case asmString:
    		cc = append(cc, newComponent(suffix+"_base", asmKind(arch.ptrSize), "string base", off, arch.ptrSize, suffix))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top