Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toSnake (0.08 sec)

  1. tensorflow/c/experimental/ops/gen/common/case_format.cc

        }
    
        // add delimiter
        if (wordStart && toSnake && !inputStart) {
          result.push_back(delimiter);
        }
    
        // add the next letter from the input string (choosing upper/lower case)
        const bool shouldCapIfSnake = toUpper;
        const bool shouldCapIfCamel = wordStart && (toUpper || !inputStart);
        if ((toSnake && shouldCapIfSnake) || (!toSnake && shouldCapIfCamel)) {
          result += toupper(c);
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/net/interface.go

    		if ift, err = interfaceTable(0); err != nil {
    			return false
    		}
    	}
    	zc.toIndex = make(map[string]int, len(ift))
    	zc.toName = make(map[int]string, len(ift))
    	for _, ifi := range ift {
    		zc.toIndex[ifi.Name] = ifi.Index
    		if _, ok := zc.toName[ifi.Index]; !ok {
    			zc.toName[ifi.Index] = ifi.Name
    		}
    	}
    	return true
    }
    
    func (zc *ipv6ZoneCache) name(index int) string {
    	if index == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java

            public boolean apply(@Nullable T input) {
                return namer.determineName(input).equals(name);
            }
        }
    
        private static class ToName<T> implements Function<T, String> {
            private final org.gradle.api.Namer<? super T> namer;
    
            public ToName(org.gradle.api.Namer<? super T> namer) {
                this.namer = namer;
            }
    
            @Override
            public String apply(@Nullable T input) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. schema/naming_test.go

    	}
    
    	ns := NamingStrategy{}
    	for key, value := range maps {
    		if ns.toDBName(key) != value {
    			t.Errorf("%v toName should equal %v, but got %v", key, value, ns.toDBName(key))
    		}
    	}
    
    	maps = map[string]string{
    		"x":                              "X",
    		"user_restrictions":              "UserRestriction",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top