Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for newNames (0.14 sec)

  1. src/cmd/compile/internal/ssa/decompose.go

    		}
    	}
    	// Split up named values into their components.
    	i := 0
    	var newNames []*LocalSlot
    	for _, name := range f.Names {
    		t := name.Type
    		switch {
    		case t.IsStruct():
    			newNames = decomposeUserStructInto(f, name, newNames)
    		case t.IsArray():
    			newNames = decomposeUserArrayInto(f, name, newNames)
    		default:
    			f.Names[i] = name
    			i++
    		}
    	}
    	f.Names = f.Names[:i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    	} else {
    		newNames.Plural = requestedNames.Plural
    	}
    	if err := equalToAcceptedOrFresh(requestedNames.Singular, acceptedNames.Singular, allResources); err != nil {
    		namesAcceptedCondition.Status = apiextensionsv1.ConditionFalse
    		namesAcceptedCondition.Reason = "SingularConflict"
    		namesAcceptedCondition.Message = err.Error()
    	} else {
    		newNames.Singular = requestedNames.Singular
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicator.java

                }
                return false;
            }
    
            private void renameTo(T element, String newName) {
                elementsByName.remove(getCurrentlyAssignedName(element), element);
                elementsByName.put(newName, element);
                newNames.put(element, newName);
            }
    
            private void simplifyNames() {
                Set<String> deduplicatedNames = elementsByName.keySet();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. pkg/config/host/names.go

    				}
    			} else if oHost.SubsetOf(hHost) {
    				if !result.Contains(oHost) {
    					result = append(result, oHost)
    				}
    			}
    		}
    	}
    	return result
    }
    
    // NewNames converts a slice of host name strings to type Names.
    func NewNames(hosts []string) Names {
    	result := make(Names, 0, len(hosts))
    	for _, host := range hosts {
    		result = append(result, Name(host))
    	}
    	return result
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 01 19:19:22 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. src/syscall/dirent.go

    // appending the names to names. It returns the number of
    // bytes consumed from buf, the number of entries added
    // to names, and the new names slice.
    func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
    	origlen := len(buf)
    	count = 0
    	for max != 0 && len(buf) > 0 {
    		reclen, ok := direntReclen(buf)
    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    // appending the names to names. It returns the number of
    // bytes consumed from buf, the number of entries added
    // to names, and the new names slice.
    func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
    	origlen := len(buf)
    	count = 0
    	for max != 0 && len(buf) > 0 {
    		reclen, ok := direntReclen(buf)
    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/gateway.go

    			gatewayVirtualServices[gatewayName] = virtualServices
    		}
    
    		for _, virtualService := range virtualServices {
    			virtualServiceHosts := host.NewNames(virtualService.Spec.(*networking.VirtualService).Hosts)
    			serverHosts := host.NamesForNamespace(server.Hosts, virtualService.Namespace)
    
    			// We have two cases here:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  8. pkg/kube/krt/collection_test.go

    		{
    			Named:         NewNamed(pod),
    			MatchingSizes: 2,
    		},
    		{
    			Named:         NewNamed(dual),
    			MatchingSizes: 2,
    		},
    	})
    
    	pc.Delete(dual.Name, dual.Namespace)
    	tt.WaitUnordered("update/namespace/name", "delete/namespace/name-dual")
    	assert.Equal(t, fetcherSorted(Thingys)(), []PodSizeCount{{
    		Named:         NewNamed(pod),
    		MatchingSizes: 1,
    	}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/example.com_retract_rename_v1.9.0-new.txt

    is added for the first time with a custom module path.
    -- .info --
    {"Version":"v1.9.0-new"}
    -- .mod --
    module example.com/retract/newname
    
    go 1.16
    
    // bad
    retract v1.0.0-bad
    -- go.mod --
    module example.com/retract/newname
    
    go 1.16
    
    // bad
    retract v1.0.0-bad
    -- newname.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 17:59:55 UTC 2020
    - 429 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top