Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 543 for creators (0.18 sec)

  1. src/runtime/traceallocfree.go

    func (tl traceLocker) SpanFree(s *mspan) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvSpanFree, traceSpanID(s))
    }
    
    // traceSpanID creates a trace ID for the span s for the trace.
    func traceSpanID(s *mspan) traceArg {
    	return traceArg(uint64(s.base())-trace.minPageHeapAddr) / pageSize
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/proxy/node.go

    	return &NodePodCIDRHandler{
    		podCIDRs: podCIDRs,
    		logger:   klog.FromContext(ctx),
    	}
    }
    
    var _ config.NodeHandler = &NodePodCIDRHandler{}
    
    // OnNodeAdd is a handler for Node creates.
    func (n *NodePodCIDRHandler) OnNodeAdd(node *v1.Node) {
    	n.mu.Lock()
    	defer n.mu.Unlock()
    
    	podCIDRs := node.Spec.PodCIDRs
    	// initialize podCIDRs
    	if len(n.podCIDRs) == 0 && len(podCIDRs) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/assume_cache.go

    	if pv, ok := obj.(*v1.PersistentVolume); ok {
    		return []string{storagehelpers.GetPersistentVolumeClass(pv)}, nil
    	}
    	return []string{""}, fmt.Errorf("object is not a v1.PersistentVolume: %v", obj)
    }
    
    // NewPVAssumeCache creates a PV assume cache.
    func NewPVAssumeCache(logger klog.Logger, informer assumecache.Informer) *PVAssumeCache {
    	logger = klog.LoggerWithName(logger, "PV Cache")
    	return &PVAssumeCache{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/services/LoggingServiceRegistry.java

        protected final OutputEventRenderer renderer = makeOutputEventRenderer();
        protected final OutputEventListenerManager outputEventListenerManager = new OutputEventListenerManager(renderer);
    
        /**
         * Creates a set of logging services which are suitable to use globally in a process. In particular:
         *
         * <ul>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/while_gradients.cc

    // backprop while loops.
    // TODO(skyewm): make sure this is unique among existing frame names
    string BackPropFrameName(const string& forward_frame_name) {
      return strings::StrCat(forward_frame_name, "_backprop");
    }
    
    // Creates a loop that counts the number of iterations performed by the
    // while loop associated with `while_ctx`. The returned output yields the
    // iteration count.
    Status AddForwardLoopCounter(WhileContext* while_ctx, const Scope& scope,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy

        def jarFile = tmpDir.file("mydir/jarfile.jar").createFile()
    
        def "creates manifest classpath with relative urls"() {
            when:
            def classpathFiles = [tmpDir.file('mydir/jar1.jar'), tmpDir.file('mydir/nested/jar2.jar')]
    
            then:
            ManifestUtil.createManifestClasspath(jarFile, classpathFiles) == "jar1.jar nested/jar2.jar";
        }
    
        def "creates manifest classpath with absolute urls"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/internal/weak/pointer.go

    	u unsafe.Pointer
    }
    
    // Make creates a weak pointer from a strong pointer to some value of type T.
    func Make[T any](ptr *T) Pointer[T] {
    	// Explicitly force ptr to escape to the heap.
    	ptr = abi.Escape(ptr)
    
    	var u unsafe.Pointer
    	if ptr != nil {
    		u = runtime_registerWeakPointer(unsafe.Pointer(ptr))
    	}
    	runtime.KeepAlive(ptr)
    	return Pointer[T]{u}
    }
    
    // Strong creates a strong pointer from the weak pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:13:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

            [](const std::string& output_name, const StringRef fn_name) {
              return absl::StrCat(fn_name.str(), "_", output_name);
            });
      }
    }
    
    // Creates a main function which calls other exported functions.
    bool CreateMainFunction(ModuleOp module_op) {
      MLIRContext* context = module_op.getContext();
      OpBuilder builder(context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/sym.go

    	return ctxt
    }
    
    // LookupDerived looks up or creates the symbol with name derived from symbol s.
    // The resulting symbol will be static iff s is.
    func (ctxt *Link) LookupDerived(s *LSym, name string) *LSym {
    	if s.Static() {
    		return ctxt.LookupStatic(name)
    	}
    	return ctxt.Lookup(name)
    }
    
    // LookupStatic looks up the static symbol with name name.
    // If it does not exist, it creates it.
    func (ctxt *Link) LookupStatic(name string) *LSym {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/net/http/transport_dial_test.go

    	"context"
    	"io"
    	"net"
    	"net/http"
    	"net/http/httptrace"
    	"testing"
    )
    
    func TestTransportPoolConnReusePriorConnection(t *testing.T) {
    	dt := newTransportDialTester(t, http1Mode)
    
    	// First request creates a new connection.
    	rt1 := dt.roundTrip()
    	c1 := dt.wantDial()
    	c1.finish(nil)
    	rt1.wantDone(c1)
    	rt1.finish()
    
    	// Second request reuses the first connection.
    	rt2 := dt.roundTrip()
    	rt2.wantDone(c1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top