Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 474 for Region (0.23 sec)

  1. src/internal/fuzz/sys_posix.go

    	prot := syscall.PROT_READ | syscall.PROT_WRITE
    	flags := syscall.MAP_FILE | syscall.MAP_SHARED
    	region, err := syscall.Mmap(int(f.Fd()), 0, size, prot, flags)
    	if err != nil {
    		return nil, err
    	}
    
    	return &sharedMem{f: f, region: region, removeOnClose: removeOnClose}, nil
    }
    
    // Close unmaps the shared memory and closes the temporary file. If this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/tags.go

    	scr, err := ParseScript(s)
    	if err != nil {
    		panic(err)
    	}
    	return scr
    }
    
    // MustParseRegion is like ParseRegion, but panics if the given region cannot be
    // parsed. It simplifies safe initialization of Region values.
    func MustParseRegion(s string) Region {
    	r, err := ParseRegion(s)
    	if err != nil {
    		panic(err)
    	}
    	return r
    }
    
    var (
    	und = Tag{}
    
    	Und Tag = Tag{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. pkg/bootstrap/platform/aws_test.go

    		want     *core.Locality
    	}{
    		{
    			"error",
    			map[string]handlerFunc{"/placement/region": errorHandler, "/placement/availability-zone": errorHandler},
    			&core.Locality{},
    		},
    		{
    			"locality",
    			map[string]handlerFunc{"/placement/region": regionHandler, "/placement/availability-zone": zoneHandler},
    			&core.Locality{Region: "us-west-2", Zone: "us-west-2b"},
    		},
    	}
    
    	for _, v := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 18 13:10:06 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. src/runtime/pprof/vminfo_darwin.go

    	"os"
    	"unsafe"
    )
    
    func isExecutable(protection int32) bool {
    	return (protection&_VM_PROT_EXECUTE) != 0 && (protection&_VM_PROT_READ) != 0
    }
    
    // machVMInfo uses the mach_vm_region region system call to add mapping entries
    // for the text region of the running process.
    func machVMInfo(addMapping func(lo, hi, offset uint64, file, buildID string)) bool {
    	added := false
    	var addr uint64 = 0x1
    	for {
    		var memRegionSize uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 23:35:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/sink_constant.mlir

    // CHECK-LABEL: func @sink_const
    func.func @sink_const(%arg0 : tensor<16xf32>) -> (tensor<16xf32>, tensor<f32>) {
      // Verify that the constant are sunk in the tf_device.cluster region using them
      // and removed if no other use is left.
    
      // Only the 2.0 and 3.0 constants are removed, the 4.0 has a use in the return
      // CHECK-NOT:"tf.Const"2.0
      // CHECK-NOT:"tf.Const"3.0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/language/parse.go

    	if changed {
    		tt.RemakeString()
    	}
    	return makeTag(tt), err
    }
    
    // Compose creates a Tag from individual parts, which may be of type Tag, Base,
    // Script, Region, Variant, []Variant, Extension, []Extension or error. If a
    // Base, Script or Region or slice of type Variant or Extension is passed more
    // than once, the latter will overwrite the former. Variants and Extensions are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc

            control_tokens);
        Region region;
        Block *new_block = new Block;
        region.push_back(new_block);
        builder.setInsertionPointToEnd(&region.front());
        Operation *inner_op = builder.clone(*op);
        builder.create<YieldOp>(loc, inner_op->getResults());
        outer_op.getBody().takeBody(region);
        // Careful: We can't use outer_op.getResults(), because that also includes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h

                                       ConversionPatternRewriter& rewriter);
    
    // Checks if the specified region is a binary reduction function that takes 2
    // inputs, passes it to an instance of the specified reduction op and then
    // returns the result.
    template <typename ReductionOp>
    LogicalResult MatchBinaryReduceFunction(mlir::Region& function) {
      Block& body = function.front();
      if (body.getNumArguments() != 2) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 11:35:25 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/runtime/trace/trace.go

    // By definition, a region starts and ends in the same goroutine.
    // Regions can be nested to represent subintervals.
    // For example, the following code records four regions in the execution
    // trace to trace the durations of sequential steps in a cappuccino making
    // operation.
    //
    //	trace.WithRegion(ctx, "makeCappuccino", func() {
    //
    //	   // orderID allows to identify a specific order
    //	   // among many cappuccino order region records.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/runtime/symtab_test.go

    // Test that CallersFrames handles PCs in the alignment region between
    // functions (int 3 on amd64) without crashing.
    //
    // Go will never generate a stack trace containing such an address, as it is
    // not a valid call site. However, the cgo traceback function passed to
    // runtime.SetCgoTraceback may not be completely accurate and may incorrect
    // provide PCs in Go code or the alignment region between functions.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top