Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toSnake (0.11 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)
Back to top