Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 66 of 66 for addMove (0.14 sec)

  1. cmd/erasure-server-pool.go

    		loi.NextMarker = opts.encodeMarker(last.Name)
    		loi.NextVersionIDMarker = last.VersionID
    	}
    	return loi, nil
    }
    
    func maxKeysPlusOne(maxKeys int, addOne bool) int {
    	if maxKeys < 0 || maxKeys > maxObjectList {
    		maxKeys = maxObjectList
    	}
    	if addOne {
    		maxKeys++
    	}
    	return maxKeys
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    	err = manager.dsStore.Add(ds)
    	if err != nil {
    		t.Fatal(err)
    	}
    	manager.addNode(logger, node1)
    	if got, want := manager.queue.Len(), 0; got != want {
    		t.Fatalf("queue.Len() = %v, want %v", got, want)
    	}
    
    	node2 := newNode("node2", simpleNodeLabel)
    	manager.addNode(logger, node2)
    	if got, want := manager.queue.Len(), 1; got != want {
    		t.Fatalf("queue.Len() = %v, want %v", got, want)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. src/net/netip/netip.go

    		byteorder.BePutUint64(ret[8:], ip.addr.lo)
    		return ret[:]
    	}
    }
    
    // Next returns the address following ip.
    // If there is none, it returns the zero [Addr].
    func (ip Addr) Next() Addr {
    	ip.addr = ip.addr.addOne()
    	if ip.Is4() {
    		if uint32(ip.addr.lo) == 0 {
    			// Overflowed.
    			return Addr{}
    		}
    	} else {
    		if ip.addr.isZero() {
    			// Overflowed
    			return Addr{}
    		}
    	}
    	return ip
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

                                                     /*consume=*/true);
    
        if (status->status.ok()) {
          // Run shape inference function for newly added node.
          status->status = desc->graph->refiner.AddNode(ret);
        }
        if (status->status.ok()) {
          // Add the node to the name-to-node mapping.
          desc->graph->name_map[ret->name()] = ret;
        } else if (ret != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              (*node_name_map)[placeholder_node->name()] = placeholder_node;
              // Add the new placeholder node to the shape refiner.
              Status status = shape_refiner_->AddNode(placeholder_node);
              if (!status.ok()) {
                return EmitErrorWithLocationStr(*placeholder_node, status);
              }
            }
          } else {
            auto index_it = it->second.find(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				for i, label := range strings.Split(node.Name, "/") {
    					node.ObjectMeta.Labels[labelKeys[i]] = label
    				}
    				node.Name = node.ObjectMeta.Labels["hostname"]
    				cache.AddNode(logger, node)
    				nodes[i] = node
    
    				// Set nodeInfo to extenders to mock extenders' cache for preemption.
    				cachedNodeInfo := framework.NewNodeInfo()
    				cachedNodeInfo.SetNode(node)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top