Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for init_func1 (0.2 sec)

  1. src/go/internal/gccgoimporter/importer.go

    	"internal/xcoff"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // A PackageInit describes an imported package that needs initialization.
    type PackageInit struct {
    	Name     string // short package name
    	InitFunc string // name of init function
    	Priority int    // priority of init function, see InitData.Priority
    }
    
    // The gccgo-specific init data for a package.
    type InitData struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/importer_test.go

    		}
    	}
    
    	if len(test.wantinits) > 0 {
    		initdata := initmap[pkg]
    		found := false
    		// Check that the package's own init function has the package's priority
    		for _, pkginit := range initdata.Inits {
    			if pkginit.InitFunc == test.wantinits[0] {
    				found = true
    				break
    			}
    		}
    
    		if !found {
    			t.Errorf("%s: could not find expected function %q", test.pkgpath, test.wantinits[0])
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

            // expected-remark@above {{Successors: {5}}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/arm64/asm.go

    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"fmt"
    	"log"
    )
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    	// 0000000000000000 <local.dso_init>:
    	// 0:	90000000 	adrp	x0, 0 <runtime.firstmoduledata>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  5. cmd/cloud-controller-manager/nodeipamcontroller.go

    }
    
    func (nodeIpamController *nodeIPAMController) StartNodeIpamControllerWrapper(initContext app.ControllerInitContext, completedConfig *cloudcontrollerconfig.CompletedConfig, cloud cloudprovider.Interface) app.InitFunc {
    	allErrors := nodeIpamController.nodeIPAMControllerOptions.Validate()
    	if len(allErrors) > 0 {
    		klog.Fatal("NodeIPAM controller values are not properly set.")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 14 19:06:22 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/go/internal/gccgoimporter/parser.go

    // PackageInit = unquotedString unquotedString int .
    func (p *parser) parsePackageInit() PackageInit {
    	name := p.parseUnquotedString()
    	initfunc := p.parseUnquotedString()
    	priority := -1
    	if p.version == "v1" {
    		priority = p.parseInt()
    	}
    	return PackageInit{Name: name, InitFunc: initfunc, Priority: priority}
    }
    
    // Create the package if we have parsed both the package path and package name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/server.go

    			fn()
    			return nil
    		})
    	}
    }
    
    // NewServer creates a new Server instance based on the provided arguments.
    func NewServer(args *PilotArgs, initFuncs ...func(*Server)) (*Server, error) {
    	e := model.NewEnvironment()
    	e.DomainSuffix = args.RegistryOptions.KubeOptions.DomainSuffix
    	e.SetLedger(buildLedger(args.RegistryOptions))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      %0 = "tf.GeneratorDataset"(%arg0, %arg1, %arg2, %arg3) {
          device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0",
          finalize_func = @finalize,
          init_func = @init,
          next_func = @next,
          operandSegmentSizes = array<i32: 1, 2, 1>,
          output_shapes = [#tf_type.shape<>],
          output_types = [!tf_type.string],
          metadata = ""} : (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let arguments = (ins
        Variadic<TF_Tensor>:$init_func_other_args,
        Variadic<TF_Tensor>:$next_func_other_args,
        Variadic<TF_Tensor>:$finalize_func_other_args,
    
        SymbolRefAttr:$init_func,
        SymbolRefAttr:$next_func,
        SymbolRefAttr:$finalize_func,
        ConfinedAttr<TypeArrayAttr, [ArrayMinCount<1>]>:$output_types,
        ConfinedAttr<TF_ShapeAttrArray, [ArrayMinCount<1>]>:$output_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top