Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 945 for builder2 (0.2 sec)

  1. cmd/main.go

    	fmt.Fprintln(banner, color.Blue("Version:")+color.Bold(" %s (%s %s/%s)", ReleaseTag, runtime.Version(), runtime.GOOS, runtime.GOARCH))
    }
    
    func versionBanner(c *cli.Context) io.Reader {
    	banner := &strings.Builder{}
    	fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID))
    	fmt.Fprintln(banner, color.Blue("Runtime:")+color.Bold(" %s %s/%s", runtime.Version(), runtime.GOOS, runtime.GOARCH))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-handler.go

    			jsonEncoder.Encode(metrics)
    			return
    		}
    
    		// If not JSON, return plain text. We format it as a markdown table for
    		// readability.
    		w.Header().Set("Content-Type", "text/plain")
    		var b strings.Builder
    		b.WriteString("| Name | Type | Help | Labels |\n")
    		b.WriteString("| ---- | ---- | ---- | ------ |\n")
    		for _, metric := range metrics {
    			b.WriteString(metric.TableRow())
    		}
    		w.Write([]byte(b.String()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

      fun sslContext(): SSLContext {
        return Platform.get().newSSLContext().apply {
          init(arrayOf<KeyManager>(keyManager), arrayOf<TrustManager>(trustManager), SecureRandom())
        }
      }
    
      class Builder {
        private var heldCertificate: HeldCertificate? = null
        private var intermediates: Array<X509Certificate>? = null
        private val trustedCertificates = mutableListOf<X509Certificate>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. api/maven-api-plugin/src/main/mdo/plugin.mdo

            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getId() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                    if (auth != null) {
                        repo = new RemoteRepository.Builder(repo)
                                .setAuthentication(auth)
                                .build();
                        AuthenticationContext authCtx = AuthenticationContext.forRepository(session, repo);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

        /**
         * Returns a gzip version of the RequestBody, with compressed payload.
         * This is not automatic as not all servers support gzip compressed requests.
         *
         * ```
         * val request = Request.Builder().url("...")
         *  .addHeader("Content-Encoding", "gzip")
         *  .post(uncompressedBody.gzip())
         *  .build()
         * ```
         */
        @JvmStatic
        @ExperimentalOkHttpApi
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

        /**
         * Returns the id of the build strategy to use.
         *
         * @return an {@link Optional} containing the id of the build strategy, or empty if not specified
         */
        @Nonnull
        Optional<String> builder();
    
        /**
         * Indicates whether Maven should not display transfer progress when downloading or uploading.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        int threadCount = 20;
        ExecutorService executor = newFixedThreadPool(threadCount);
        final CyclicBarrier barrier = new CyclicBarrier(threadCount);
        ImmutableList.Builder<Future<?>> futures = ImmutableList.builder();
        for (int i = 0; i < threadCount; i++) {
          futures.add(
              executor.submit(
                  new Callable<@Nullable Void>() {
                    @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          parts.nextPart()
        }
      }
    
      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody.Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. tests/associations_test.go

    	return []clause.Interface{emptyQueryClause{Field: f}}
    }
    
    func (sd emptyQueryClause) Name() string {
    	return "empty"
    }
    
    func (sd emptyQueryClause) Build(clause.Builder) {
    }
    
    func (sd emptyQueryClause) MergeClause(*clause.Clause) {
    }
    
    func (sd emptyQueryClause) ModifyStatement(stmt *gorm.Statement) {
    	// do nothing
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top