Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for clen (0.04 sec)

  1. src/runtime/proc.go

    	// monotonically and existing entries never change, so we can
    	// simply return a copy of the slice header. For added safety,
    	// we trim everything past len because that can still change.
    	return allgs[:len(allgs):len(allgs)]
    }
    
    // atomicAllG returns &allgs[0] and len(allgs) for use with atomicAllGIndex.
    func atomicAllG() (**g, uintptr) {
    	length := atomic.Loaduintptr(&allglen)
    	ptr := (**g)(atomic.Loadp(unsafe.Pointer(&allgptr)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        LLVM_DEBUG(llvm::dbgs()
                   << "Skipping inference; " << producer_or.status().ToString());
        return true;
      }
      int64_t producer = producer_or.value();
    
      // TODO(jpienaar): Clean up propagate_NextIterationSinkOp_callee_constants if
      // it is no longer needed.
      ShapeInference context(producer, module,
                             /*propagate_caller_callee_constants=*/false,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    		want                      *preFilterState
    		wantPrefilterStatus       *framework.Status
    		enableNodeInclusionPolicy bool
    		enableMatchLabelKeys      bool
    	}{
    		{
    			name: "clean cluster with one spreadConstraint",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(5, "zone", v1.DoNotSchedule, st.MakeLabelSelector().Label("foo", "bar").Obj(), nil, nil, nil, nil).
    				Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    			inOrder = append(inOrder, c)
    		}
    		if s.Len() != N {
    			t.Fatalf("Len = %v; want %v", s.Len(), N)
    		}
    		for s.Len() > 0 {
    			c, ok := s.TakeRandom()
    			if !ok {
    				t.Fatal("failed to take when non-empty")
    			}
    			if !m[c] {
    				t.Fatal("returned item not in remaining set")
    			}
    			delete(m, c)
    			backOut = append(backOut, c)
    		}
    		if len(m) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    			"Host: test\r\n"+
    			"Content-Length: %d\r\n"+
    			"\r\n", len(body))))
    	conn.readBuf.Write([]byte(body))
    	conn.closec = make(chan bool, 1)
    
    	ls := &oneConnListener{conn}
    	go Serve(ls, HandlerFunc(func(rw ResponseWriter, req *Request) {
    		if conn.readBuf.Len() < len(body)/2 {
    			t.Errorf("on request, read buffer length is %d; expected about 1MB", conn.readBuf.Len())
    		}
    		rw.WriteHeader(200)
    		rw.(Flusher).Flush()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top