- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,820 for ipnets (0.11 sec)
-
pkg/controller/nodeipam/ipam/cidr_allocator.go
// cidr range allocator. type CIDRAllocatorParams struct { // ClusterCIDRs is list of cluster cidrs. ClusterCIDRs []*net.IPNet // ServiceCIDR is primary service cidr for cluster. ServiceCIDR *net.IPNet // SecondaryServiceCIDR is secondary service cidr for cluster. SecondaryServiceCIDR *net.IPNet // NodeCIDRMaskSizes is list of node cidr mask sizes. NodeCIDRMaskSizes []int } // New creates a new CIDR range allocator.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 13:03:57 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/cidr_set.go
binary.BigEndian.PutUint64(ip[halfIPv6Len:], rightClusterIP) } } return &net.IPNet{ IP: ip, Mask: s.nodeMask, } } // AllocateNext allocates the next free CIDR range. This will set the range // as occupied and return the allocated range. func (s *CidrSet) AllocateNext() (*net.IPNet, error) { s.Lock() defer s.Unlock() if s.allocatedCIDRs == s.maxCIDRs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 11 08:53:03 UTC 2023 - 9.4K bytes - Viewed (0) -
pkg/ctrlz/ctrlz.go
if err != nil { return "" } for _, address := range addrs { // check the address type and if it is not a loopback then return it if ipnet, ok := address.(*net.IPNet); ok && !ipnet.IP.IsLoopback() { if ipnet.IP.To4() != nil { return ipnet.IP.String() } } } return "" } type topic struct { Name string URL string } func getTopics() []topic {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 21:22:53 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/controller/nodeipam/nolegacyprovider.go
} func createLegacyIPAM( ctx context.Context, ic *Controller, nodeInformer coreinformers.NodeInformer, cloud cloudprovider.Interface, kubeClient clientset.Interface, clusterCIDRs []*net.IPNet, serviceCIDR *net.IPNet, nodeCIDRMaskSizes []int, ) (*fakeController, error) { return nil, errors.New("Error trying to Init(): legacy cloud provider support disabled at build time")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 13:03:53 UTC 2024 - 1.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy
inputs.hasInputs !inputs.hasSourceFiles } def hasInputsWhenNonEmptyInputFilesRegistered() { when: inputs.files('a') then: inputs.hasInputs !inputs.hasSourceFiles } def hasInputsWhenInputPropertyRegistered() { when: inputs.property('a', 'value') then: inputs.hasInputs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 16 20:09:26 UTC 2022 - 7.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalTaskWithNormalizedInputsIntegrationTest.groovy
def "incremental task with NAME_ONLY inputs (matching file names and content) detects deleted file"() { def inputs = folderNames().collect { file("${it}/input.txt").createFile() } buildFile << incrementalTaskWithNameOnlyInputFiles(inputs) run INCREMENTAL_TASK_NAME when: inputs[1..2]*.delete() println "${inputs} exists: ${inputs*.exists()}" run INCREMENTAL_TASK_NAME, "--info"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 30 07:31:26 UTC 2022 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
private final String[] inputs; private final String output; private String[] newInputs; private String newOutput; public CharMappingItem(final long id, final String[] inputs, final String output) { this.id = id; this.inputs = inputs; this.output = output == null ? null : output.replace("\n", " "); Arrays.sort(inputs); if (id == 0) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.4K bytes - Viewed (0) -
src/net/udpsock_plan9.go
} } have4 := gaddr.IP.To4() != nil for _, addr := range addrs { if ipnet, ok := addr.(*IPNet); ok && (ipnet.IP.To4() != nil) == have4 { _, err = l.ctl.WriteString("addmulti " + ipnet.IP.String() + " " + gaddr.IP.String()) if err != nil { return nil, &OpError{Op: "addmulti", Net: "", Source: nil, Addr: ipnet, Err: err} } } } l.data, err = os.OpenFile(l.dir+"/data", os.O_RDWR, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 18:35:35 UTC 2021 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/AbstractModelAction.java
protected AbstractModelAction(ModelReference<T> subject, ModelRuleDescriptor descriptor, ModelReference<?>... inputs) { this(subject, descriptor, inputs == null ? EMPTY_MODEL_REF_LIST : Arrays.asList(inputs)); } protected AbstractModelAction(ModelReference<T> subject, ModelRuleDescriptor descriptor, List<? extends ModelReference<?>> inputs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DirectNodeInputUsingModelAction.java
action.execute(modelNode, Cast.<I>uncheckedCast(inputs.get(0).getInstance()), Cast.<J>uncheckedCast(inputs.get(1).getInstance()) ); } }; } @Override public void execute(MutableModelNode modelNode, T view, List<ModelView<?>> inputs) { action.execute(modelNode, view, inputs);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0)