Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildString (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          )
        }
    
        private fun effectivePort(): Int {
          return if (port != -1) port else defaultPort(scheme!!)
        }
    
        override fun toString(): String {
          return buildString {
            if (scheme != null) {
              append(scheme)
              append("://")
            } else {
              append("//")
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    				return n
    			}
    		}
    		return -1
    	}
    
    	strs = make([]string, nnames)
    
    	strdata := make(map[int]string, nnames)
    	strlens := make(map[int]int, nnames)
    
    	buildStrings := func() {
    		for n, strlen := range strlens {
    			data := strdata[n]
    			if len(data) <= strlen {
    				fatalf("invalid string literal")
    			}
    			strs[n] = data[:strlen]
    		}
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top