Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 166 for typefix (0.16 sec)

  1. src/encoding/json/bench_test.go

    		maxTypes = 1e3 // restrict cache sizes on builders
    	}
    
    	// Dynamically generate many new types.
    	types := make([]reflect.Type, maxTypes)
    	fs := []reflect.StructField{{
    		Type:  reflect.TypeFor[string](),
    		Index: []int{0},
    	}}
    	for i := range types {
    		fs[0].Name = fmt.Sprintf("TypeFieldsCache%d", i)
    		types[i] = reflect.StructOf(fs)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/security.js

    -theme")||"light",h=c.reCaptchaSize||d.valAttr("recaptcha-size")||"normal",i=c.reCaptchaType||d.valAttr("recaptcha-type")||"image";if(!f)throw new Error("Google reCaptcha site key is required.");var j=grecaptcha.render(e,{sitekey:f,theme:g,size:h,type:i,callback:function(a){b.find('[data-validation~="recaptcha"]').trigger("validation",a&&""!==a)},"expired-callback":function(){b.find('[data-validation~="recaptcha"]').trigger("validation",!1)}});d.valAttr("recaptcha-widget-id",j).hide().on("before...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    // Required to use LLVM_DEBUG macro.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

      // Test that full type information can be accessed.
      auto outs = unwrap(add_outputs);
      auto h = outs->outputs[0];
      ASSERT_NE(h, nullptr);
      ASSERT_EQ(h->FullType().type_id(), TFT_UNSET);
      ASSERT_EQ(unwrap(inputs[0])->FullType().type_id(), TFT_UNSET);
    
      // Clean up operation and inputs.
      TF_DeleteAbstractOp(add_op);
    
      TF_AbstractFunction* func =
          TF_FinalizeFunction(graph_ctx, add_outputs, status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  5. src/net/rpc/server.go

    	"sync"
    )
    
    const (
    	// Defaults used by HandleHTTP
    	DefaultRPCPath   = "/_goRPC_"
    	DefaultDebugPath = "/debug/rpc"
    )
    
    // Precompute the reflect type for error.
    var typeOfError = reflect.TypeFor[error]()
    
    type methodType struct {
    	sync.Mutex // protects counters
    	method     reflect.Method
    	ArgType    reflect.Type
    	ReplyType  reflect.Type
    	numCalls   uint
    }
    
    type service struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/database/sql/convert.go

    	case reflect.Bool:
    		return strconv.AppendBool(buf, rv.Bool()), true
    	case reflect.String:
    		s := rv.String()
    		return append(buf, s...), true
    	}
    	return
    }
    
    var valuerReflectType = reflect.TypeFor[driver.Valuer]()
    
    // callValuerValue returns vr.Value(), with one exception:
    // If vr.Value is an auto-generated method on a pointer type and the
    // pointer is nil, it would panic at runtime in the panicwrap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/registry/registry_test.go

    	rand.Read(buf)
    	for i, b := range buf {
    		buf[i] = numbers[b%byte(len(numbers))]
    	}
    	return prefix + string(buf)
    }
    
    func TestReadSubKeyNames(t *testing.T) {
    	k, err := registry.OpenKey(registry.CLASSES_ROOT, "TypeLib", registry.ENUMERATE_SUB_KEYS)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer k.Close()
    
    	names, err := k.ReadSubKeyNames()
    	if err != nil {
    		t.Fatal(err)
    	}
    	var foundStdOle bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    //     - type: object  # regular objects with zero or more older versions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/fmt.go

    	mode := fmtGo
    	switch verb {
    	case 'v', 'S', 'L':
    		if verb == 'v' && s.Flag('+') { // %+v is debug format
    			mode = fmtDebug
    		}
    		if verb == 'S' && s.Flag('-') { // %-S is special case for receiver - short typeid format
    			mode = fmtTypeID
    		}
    		fmt.Fprint(s, tconv(t, verb, mode))
    	default:
    		fmt.Fprintf(s, "%%!%c(*Type=%p)", verb, t)
    	}
    }
    
    // String returns the Go syntax for the type t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top