Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,158 for builder2 (0.25 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder2 = new StringBuilder();
        copied = CharStreams.copy(new StringReader(I18N), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toStringBuilder_fromReadable() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder2 = new StringBuilder();
        copied = CharStreams.copy(new StringReader(I18N), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toStringBuilder_fromReadable() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CacheBuilder<Object, Object> builder2 = CacheBuilder.newBuilder().softValues();
        assertThrows(IllegalStateException.class, () -> builder2.softValues());
        assertThrows(IllegalStateException.class, () -> builder2.weakValues());
      }
    
      public void testTimeToLive_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        try {
          builder.expireAfterWrite(-1, SECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    func NewBuilder(buffer []byte) *Builder {
    	return &Builder{
    		result: buffer,
    	}
    }
    
    // NewFixedBuilder creates a Builder that appends its output into the given
    // buffer. This builder does not reallocate the output buffer. Writes that
    // would exceed the buffer's capacity are treated as an error.
    func NewFixedBuilder(buffer []byte) *Builder {
    	return &Builder{
    		result:    buffer,
    		fixedSize: true,
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    func (c *CRDCanonicalTypeNamer) OpenAPICanonicalTypeName() string {
    	return fmt.Sprintf("%s/%s.%s", c.group, c.version, c.kind)
    }
    
    // builder contains validation schema and basic naming information for a CRD in
    // one version. The builder works to build a WebService that kube-openapi can
    // consume.
    type builder struct {
    	schema     *spec.Schema
    	listSchema *spec.Schema
    	ws         *restful.WebService
    
    	group    string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/builder.go

    func (b *Builder) NamespaceParam(namespace string) *Builder {
    	b.namespace = namespace
    	return b
    }
    
    // DefaultNamespace instructs the builder to set the namespace value for any object found
    // to NamespaceParam() if empty.
    func (b *Builder) DefaultNamespace() *Builder {
    	b.defaultNamespace = true
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/deployment/builder.go

    type Builder interface {
    	// With adds a new Echo configuration to the Builder. Once built, the instance
    	// pointer will be updated to point at the new Instance.
    	With(i *echo.Instance, cfg echo.Config) Builder
    
    	// WithConfig mimics the behavior of With, but does not allow passing a reference
    	// and returns an echoboot builder rather than a generic echo builder.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    import (
    	"fmt"
    	"go/ast"
    	"go/token"
    )
    
    type builder struct {
    	cfg       *CFG
    	mayReturn func(*ast.CallExpr) bool
    	current   *Block
    	lblocks   map[string]*lblock // labeled blocks
    	targets   *targets           // linked stack of branch targets
    }
    
    func (b *builder) stmt(_s ast.Stmt) {
    	// The label of the current statement.  If non-nil, its _goto
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/builder.go

    	}}},
    }
    
    // General setting to control behavior
    type Option struct {
    	IsCustomBuilder bool
    	UseFilterState  bool
    	UseExtendedJwt  bool
    }
    
    // Builder builds Istio authorization policy to Envoy filters.
    type Builder struct {
    	trustDomainBundle trustdomain.Bundle
    	option            Option
    
    	// populated when building for CUSTOM action.
    	customPolicies []model.AuthorizationPolicy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

                              TensorFlowLiteDialect>();
        builder_ = std::make_unique<mlir::Builder>(context_.get());
        fused_lstm_func_ = createLstmCompositeFunc(builder_.get(), false, false);
        fused_lstm_func_cifg_ =
            createLstmCompositeFunc(builder_.get(), false, true);
        fused_ln_lstm_func_ = createLstmCompositeFunc(builder_.get(), true, false);
      }
    
      void TearDown() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top