- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for if (0.15 sec)
-
istioctl/pkg/completion/completion.go
client, err := ctx.CLIClient() if err != nil { return nil, err } ns := ctx.NamespaceOrDefault(ctx.Namespace()) podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{}) if err != nil { return nil, err } var podsName []string for _, pod := range podList.Items { if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
synchronized(this) { if (requestDone && requestBodyOpen || responseDone && responseBodyOpen) { if (requestDone) requestBodyOpen = false if (responseDone) responseBodyOpen = false bothStreamsDone = !requestBodyOpen && !responseBodyOpen callDone = !requestBodyOpen && !responseBodyOpen && !expectMoreExchanges } } if (bothStreamsDone) { this.exchange = null
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 17 05:15:48 GMT 2024 - 17.8K bytes - Viewed (1) -
istioctl/pkg/describe/describe.go
outlierDetection *v1alpha3.OutlierDetection, ) string { extra := make([]string, 0) if lb != nil { extra = append(extra, "load balancer") } if connectionPool != nil { extra = append(extra, "connection pool") } if outlierDetection != nil { extra = append(extra, "outlier detection") } if len(extra) > 0 { return fmt.Sprintf("Policies: %s\n", strings.Join(extra, "/")) } return "" }
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
} /** * Returns true if this connection can carry a stream allocation to `address`. If non-null * `route` is the resolved route for a connection. */ internal fun isEligible( address: Address, routes: List<Route>?, ): Boolean { assertThreadHoldsLock() // If this connection is not accepting new exchanges, we're done.
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 17 05:15:48 GMT 2024 - 15.2K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
} if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 {
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer) @Synchronized @Throws(IOException::class) fun connectionPreface() { if (closed) throw IOException("closed") if (!client) return // Nothing to write; servers don't send connection headers! if (logger.isLoggable(FINE)) { logger.fine(format(">> CONNECTION ${CONNECTION_PREFACE.hex()}")) } sink.write(CONNECTION_PREFACE) sink.flush()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 17 05:15:48 GMT 2024 - 10.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
* * If too many type arguments are provided, a mapping is still created. Extra type arguments are simply ignored. If this wasn't the * case, the resulting [KtCall] would contain no type arguments at all, which can cause problems later. If too few type arguments are * provided, an empty map is returned defensively so that [toTypeArgumentsMapping] doesn't conjure any error types. If you want to map
Plain Text - Registered: Fri Apr 19 08:18:09 GMT 2024 - Last Modified: Tue Apr 16 19:28:19 GMT 2024 - 70.8K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
} } } /** * Returns `true` if the control graph contains at least one of the [firCandidates]. */ private fun ControlFlowGraph.contains(firCandidates: Set<FirElement>): Boolean { for (node in nodes) { if (node.fir in firCandidates) { return true }
Plain Text - Registered: Fri Apr 19 08:18:09 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
if configDumpFile != "" { configDump, err = getConfigDumpFromFile(configDumpFile) if err != nil { return fmt.Errorf("failed to get config dump from file %s: %s", configDumpFile, err) } } else if len(args) == 1 { podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace()) if err != nil { return err }
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
} if (isOrdinarySymbolWithSource(symbol)) { val result = psi.getContainingPsiDeclaration() if (result == null) { val containingFile = psi.containingFile if (containingFile is KtCodeFragment) { // All content inside a code fragment is implicitly local, but there is no non-local parent return null }
Plain Text - Registered: Fri Apr 19 08:18:09 GMT 2024 - Last Modified: Wed Apr 17 17:23:40 GMT 2024 - 13.5K bytes - Viewed (0)