Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for newApi (0.25 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    newApi("Class", "Bar"),
                    newApi("Class", "Bazar"),
                    newApi("Method", "Bazar.getEntries()"),
                    newApi("Method", "Bazar.valueOf(java.lang.String)"),
                    newApi("Method", "Bazar.values()"),
                    newApi("Class", "Cathedral"),
                    newApi("Field", "INSTANCE"),
                    newApi("Class", "Foo")
                )
            }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

          }
        }
      }
    
      @Suppress("NewApi")
      @IgnoreJRERequirement
      override fun supportsParameter(
        parameterContext: ParameterContext,
        extensionContext: ExtensionContext,
      ): Boolean {
        return parameterContext.parameter.type === MockWebServer::class.java
      }
    
      @Suppress("NewApi")
      override fun resolveParameter(
        parameterContext: ParameterContext,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 11 12:12:36 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)
    
      override fun isSupported(): Boolean = Companion.isSupported()
    
      @SuppressLint("NewApi")
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        return try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        applyLogger {
          addHandler(testLogHandler)
          level = Level.FINEST
          useParentHandlers = false
        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Android10Platform.kt

        } else {
          // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger.
          super.logCloseableLeak(message, stackTrace)
        }
      }
    
      @SuppressLint("NewApi")
      override fun isCleartextTrafficPermitted(hostname: String): Boolean =
        NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

      open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null
    
      /** For MockWebServer. This returns the inbound SNI names. */
      @SuppressLint("NewApi")
      @IgnoreJRERequirement // This function is overridden to require API >= 24.
      open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * all must complete within one timeout period.
         *
         * The default value is 0 which imposes no timeout.
         */
        @SuppressLint("NewApi")
        @IgnoreJRERequirement
        fun callTimeout(duration: Duration) =
          apply {
            callTimeout(duration.toMillis(), MILLISECONDS)
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics.go

    	promClient, err := api.NewClient(api.Config{Address: address})
    	if err != nil {
    		return nil, fmt.Errorf("could not build prometheus client: %v", err)
    	}
    	return promv1.NewAPI(promClient), nil
    }
    
    func metrics(promAPI promv1.API, workload string, duration time.Duration) (workloadMetrics, error) {
    	parts := strings.Split(workload, ".")
    	wname := parts[0]
    	wns := ""
    	if len(parts) > 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                assertThat("Has errors", richReport.errors, CoreMatchers.equalTo(errorWithDetail.map { ReportMessage(it.first, it.second) }))
            }
    
            fun newApi(thing: String, desc: String): String =
                "$thing ${describe(thing, desc)}: New public API in 2.0 (@Incubating)"
    
            fun added(thing: String, desc: String): List<String> =
                listOf(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  10. cmd/main.go

    COMMANDS:
      {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
      {{end}}{{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    VERSION:
      {{.Version}}
    `
    
    func newApp(name string) *cli.App {
    	// Collection of minio commands currently supported are.
    	commands := []cli.Command{}
    
    	// Collection of minio commands currently supported in a trie tree.
    	commandsTree := trie.NewTrie()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top