Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 219 for bargs (0.12 sec)

  1. src/cmd/compile/internal/types2/named_test.go

    				b.ResetTimer()
    				for i := 0; i < b.N; i++ {
    					_ = test.typ.Underlying()
    				}
    			})
    		}
    	})
    }
    
    func mustInstantiate(tb testing.TB, orig Type, targs ...Type) Type {
    	inst, err := Instantiate(nil, orig, targs, true)
    	if err != nil {
    		tb.Fatal(err)
    	}
    	return inst
    }
    
    // Test that types do not expand infinitely, as in go.dev/issue/52715.
    func TestFiniteTypeExpansion(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. Makefile

    clean: ## cleanup all generated assets
    	@echo "Cleaning up all the generated files"
    	@find . -name '*.test' | xargs rm -fv
    	@find . -name '*~' | xargs rm -fv
    	@find . -name '.#*#' | xargs rm -fv
    	@find . -name '#*#' | xargs rm -fv
    	@rm -rvf minio
    	@rm -rvf build
    	@rm -rvf release
    	@rm -rvf .verify*
    	@rm -rvf minio-release
    	@rm -rvf minio.RELEASE*.hotfix.*
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/go/types/call.go

    				// add partial list of type arguments, if any
    				if i < len(atargs) {
    					targs = append(targs, atargs[i]...)
    				}
    				// make sure targs and tparams have the same length
    				for len(targs) < len(tparams) {
    					targs = append(targs, nil)
    				}
    				genericArgs = append(genericArgs, i)
    			}
    		}
    	}
    	assert(len(tparams) == len(targs))
    
    	// at the moment we only support implicit instantiations of argument functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

        %test = "tfl.less"(%limit, %limit) : (tensor<i32>, tensor<i32>) -> tensor<i1>
        "tfl.yield"(%test) : (tensor<i1>) -> ()
      },  {
      ^bb0(%barg0: tensor<f32>, %barg1: tensor<f32>):
        %cst = arith.constant dense<22.0> : tensor<f32>
        "tfl.yield"(%barg0, %cst) : (tensor<f32>, tensor<f32>) -> ()
      }) : (tensor<f32>, tensor<f32>) -> (tensor<f32>, tensor<f32>)
      func.return %0#1 : tensor<f32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderCachingIntegrationTest.groovy

            then:
            outputContains("foo.value = 2")
            outputContains("bar.value = 2")
        }
    
        private void configurationCacheRun(String... args) {
            run(AbstractConfigurationCacheIntegrationTest.ENABLE_CLI_OPT, *args)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/builtins.go

    	var args []*operand // not valid for _Make, _New, _Offsetof, _Trace
    	var nargs int
    	switch id {
    	default:
    		// check all arguments
    		args = check.exprList(argList)
    		nargs = len(args)
    		for _, a := range args {
    			if a.mode == invalid {
    				return
    			}
    		}
    		// first argument is always in x
    		if nargs > 0 {
    			*x = *args[0]
    		}
    	case _Make, _New, _Offsetof, _Trace:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/go/types/typestring.go

    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    	case *TypeParam:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses.go

    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    		if len(args) > 1 {
    			var err error
    			setIndexes, err = getSetIndexes(args, []uint64{uint64(len(args))}, setDriveCount, nil)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    	_Alignof
    	_Offsetof
    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    	_StringData
    
    	// testing support
    	_Assert
    	_Trace
    )
    
    var predeclaredFuncs = [...]struct {
    	name     string
    	nargs    int
    	variadic bool
    	kind     exprKind
    }{
    	_Append:  {"append", 1, true, expression},
    	_Cap:     {"cap", 1, false, expression},
    	_Clear:   {"clear", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    	_Alignof
    	_Offsetof
    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    	_StringData
    
    	// testing support
    	_Assert
    	_Trace
    )
    
    var predeclaredFuncs = [...]struct {
    	name     string
    	nargs    int
    	variadic bool
    	kind     exprKind
    }{
    	_Append:  {"append", 1, true, expression},
    	_Cap:     {"cap", 1, false, expression},
    	_Clear:   {"clear", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top