Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for rewrites (0.34 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    // license that can be found in the LICENSE file.
    
    /*
    Package rangefunc rewrites range-over-func to code that doesn't use range-over-funcs.
    Rewriting the construct in the front end, before noder, means the functions generated during
    the rewrite are available in a noder-generated representation for inlining by the back end.
    
    # Theory of Operation
    
    The basic idea is to rewrite
    
    	for x := range f {
    		...
    	}
    
    into
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Returns pass that prepares TPU computation to be legal for export to
    // TensorFlow.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreatePrepareTpuComputationForTfExportPass();
    
    // Rewrites ops that require quantized inputs or outputs to ops that allow
    // non-quantized inputs and outputs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLowerQuantizedPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. src/runtime/stubs.go

    //
    //go:linkname add
    //go:nosplit
    func add(p unsafe.Pointer, x uintptr) unsafe.Pointer {
    	return unsafe.Pointer(uintptr(p) + x)
    }
    
    // getg returns the pointer to the current g.
    // The compiler rewrites calls to this function into instructions
    // that fetch the g directly (from TLS or from the dedicated register).
    func getg() *g
    
    // mcall switches from the g to the g0 stack and invokes fn(g),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/abi.go

    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    // s's maps. Symbols in this package may be written either as "".X or
    // with the package's import path already in the symbol. This rewrites
    // both to use the full path, which matches compiler-generated linker
    // symbol names.
    func (s *SymABIs) canonicalize(linksym string) string {
    	if strings.HasPrefix(linksym, `"".`) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	s.currentPodSnapshot.Ensure(string(pod.UID))
    	openNetns, err := s.getOrOpenNetns(pod, netNs)
    	if err != nil {
    		return err
    	}
    
    	// Handle node healthcheck probe rewrites
    	_, err = addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet)
    	if err != nil {
    		log.Errorf("failed to add pod to ipset: %s/%s %v", pod.Namespace, pod.Name, err)
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    //
    // reportCmd formats the output as "# desc" followed by the given output. The
    // output is expected to contain references to 'dir', usually the source
    // directory for the package that has failed to build. reportCmd rewrites
    // mentions of dir with a relative path to dir when the relative path is
    // shorter. This is usually more pleasant. For example, if fmt doesn't compile
    // and we are in src/html, the output is
    //
    //	$ go build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/deadcode.go

    			}
    			d.markableMethods = append(d.markableMethods, methods...)
    		}
    	}
    }
    
    // mapinitcleanup walks all pkg init functions and looks for weak relocations
    // to mapinit symbols that are no longer reachable. It rewrites
    // the relocs to target a new no-op routine in the runtime.
    func (d *deadcodePass) mapinitcleanup() {
    	for _, idx := range d.pkginits {
    		relocs := d.ldr.Relocs(idx)
    		var su *loader.SymbolBuilder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/net/textproto/reader.go

    // with a dot are escaped with an additional dot to avoid
    // looking like the end of the sequence.
    //
    // The decoded form returned by the Reader's Read method
    // rewrites the "\r\n" line endings into the simpler "\n",
    // removes leading dot escapes if present, and stops with error [io.EOF]
    // after consuming (and discarding) the end-of-sequence line.
    func (r *Reader) DotReader() io.Reader {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          /*use_resource_updates_for_aliases=*/false, shape_determination_fns,
          compilation_result, custom_legalization_passes, module_name,
          lower_to_xla_hlo);
    }
    
    // Rewrites the given module with specified args. For each of the constant args,
    // it gets inlined in the "main' function and the corresponding argument is
    // removed from the signature. For resource args, their subtypes are populated.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top