Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 407 for unwrapped (0.16 sec)

  1. guava/src/com/google/common/collect/MapMaker.java

    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import javax.annotation.CheckForNull;
    
    /**
     * A builder of {@link ConcurrentMap} instances that can have keys or values automatically wrapped
     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. src/sync/oncefunc_test.go

    			})
    			f := fn(buf)
    			gcwaitfin()
    			if gc.Load() != false {
    				t.Fatal("wrapped function garbage collected too early")
    			}
    			f()
    			gcwaitfin()
    			if gc.Load() != true {
    				// Even if f is still alive, the function passed to Once(Func|Value|Values)
    				// is not kept alive after the first call to f.
    				t.Fatal("wrapped function should be garbage collected, but still live")
    			}
    			f()
    		})
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. pkg/volume/git_repo/git_repo.go

    	if volumeutil.IsReady(b.getMetaDir()) {
    		return nil
    	}
    
    	// Wrap EmptyDir, let it do the setup.
    	wrapped, err := b.plugin.host.NewWrapperMounter(b.volName, wrappedVolumeSpec(), &b.pod, b.opts)
    	if err != nil {
    		return err
    	}
    	if err := wrapped.SetUpAt(dir, mounterArgs); err != nil {
    		return err
    	}
    
    	args := []string{"clone", "--", b.source}
    
    	if len(b.target) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "execute(command, null, (File) null)", "", ""],
                [fromString(), "execute(command, (String[]) null, (File) null)", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "execute(command as String, null, null)", "", ""],
                [fromString(), "execute(command, (String[]) ['FOOBAR=foobar'], null)", "", "foobar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/unified_api_testutil.h

    using Model = std::function<Status(AbstractContext*,
                                       absl::Span<AbstractTensorHandle* const>,
                                       absl::Span<AbstractTensorHandle*>)>;
    
    // Runs `model` maybe wrapped in a function call op. This can be thought as
    // being equivalent to the following python code.
    //
    // if use_function:
    //   outputs = tf.function(model)(inputs)
    // else:
    //   outputs = model(inputs)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

          this.reference = reference;
        }
    
        /** Returns the (possibly null) reference wrapped by this instance. */
        @ParametricNullness
        public T get() {
          return reference;
        }
    
        /**
         * Returns {@code true} if {@link Equivalence#equivalent(Object, Object)} applied to the wrapped
         * references is {@code true} and both wrappers use the {@link Object#equals(Object) same}
         * equivalence.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    } loc(unknown)
    
    // This test cases exercises our handling of the "tf_executor.island wraps"
    // syntax. In particular, that syntax only prints out a single location, so
    // it is incorrect to use that syntax if the island, wrapped op, and yield
    // don't have identical locations.
    
    // CHECK-LABEL: "func.func"
    // CHECK: sym_name = "island_one_op_all_locs_NOT_same"
    // CHECK:    "tf_executor.graph"() ({
    // CHECK-NEXT:      "tf_executor.island"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/errors/errors.go

    // then we say that e wraps w. A nil error returned from e.Unwrap()
    // indicates that e does not wrap any error. It is invalid for an
    // Unwrap method to return an []error containing a nil error value.
    //
    // An easy way to create wrapped errors is to call [fmt.Errorf] and apply
    // the %w verb to the error argument:
    //
    //	wrapsErr := fmt.Errorf("... %w ...", ..., err, ...)
    //
    // Successive unwrapping of an error creates a tree. The [Is] and [As]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/image/gif/writer_test.go

    	}
    
    	// Case 1: Encode a wrapped image.Image
    	buf := new(bytes.Buffer)
    	w0 := offsetImage{m0, m0.Bounds()}
    	err = Encode(buf, w0, nil)
    	if err != nil {
    		t.Fatalf("Encode: %v", err)
    	}
    	w1, err := Decode(buf)
    	if err != nil {
    		t.Fatalf("Dencode: %v", err)
    	}
    	avgDelta := averageDelta(m0, w1)
    	if avgDelta > 0 {
    		t.Fatalf("Wrapped: average delta is too high. expected: 0, got %d", avgDelta)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/encoding/ascii85/ascii85.go

    // for the last fragment, so Encode is not appropriate for use on
    // individual blocks of a large data stream. Use [NewEncoder] instead.
    //
    // Often, ascii85-encoded data is wrapped in <~ and ~> symbols.
    // Encode does not add these.
    func Encode(dst, src []byte) int {
    	if len(src) == 0 {
    		return 0
    	}
    
    	n := 0
    	for len(src) > 0 {
    		dst[0] = 0
    		dst[1] = 0
    		dst[2] = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top