Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 277 for Cast (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractFuture.java

            // the listener is responsible for calling completeWithFuture, directExecutor is appropriate
            // since all we are doing is unpacking a completed future which should be fast.
            try {
              future.addListener(valueToSet, DirectExecutor.INSTANCE);
            } catch (Throwable t) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            // the listener is responsible for calling completeWithFuture, directExecutor is appropriate
            // since all we are doing is unpacking a completed future which should be fast.
            try {
              future.addListener(valueToSet, DirectExecutor.INSTANCE);
            } catch (Throwable t) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  3. src/math/big/int_test.go

    				if !panics(func() { x.FillBytes(buf) }) {
    					t.Errorf("expected panic for small buffer and value %x", x)
    				}
    			}
    		})
    	}
    }
    
    func TestNewIntMinInt64(t *testing.T) {
    	// Test for uint64 cast in NewInt.
    	want := int64(math.MinInt64)
    	if got := NewInt(want).Int64(); got != want {
    		t.Fatalf("wanted %d, got %d", want, got)
    	}
    }
    
    func TestNewIntAllocs(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

                             mlir::TF::_XlaRecvAtHostV2Op>(defining_op)) {
                external_values.insert(v);
              }
              continue;
            }
            auto block_arg = mlir::cast<BlockArgument>(v);
            if (block_arg.getParentRegion() == op->getParentRegion())
              external_values.insert(v);
          }
          return WalkResult::advance();
        });
      }
      return external_values;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. src/runtime/mbitmap.go

    	gcdata := typ.GCData
    	return typePointers{elem: addr, addr: addr, mask: readUintptr(gcdata), typ: typ}
    }
    
    // nextFast is the fast path of next. nextFast is written to be inlineable and,
    // as the name implies, fast.
    //
    // Callers that are performance-critical should iterate using the following
    // pattern:
    //
    //	for {
    //		var addr uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

          return Iterators.find(unfiltered.iterator(), predicate);
        }
    
        @Override
        @ParametricNullness
        public E last() {
          SortedSet<E> sortedUnfiltered = (SortedSet<E>) unfiltered;
          while (true) {
            E element = sortedUnfiltered.last();
            if (predicate.apply(element)) {
              return element;
            }
            sortedUnfiltered = sortedUnfiltered.headSet(element);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    		} else {
    			frame.continpc = 0
    		}
    	}
    }
    
    func (u *unwinder) next() {
    	frame := &u.frame
    	f := frame.fn
    	gp := u.g.ptr()
    
    	// Do not unwind past the bottom of the stack.
    	if frame.lr == 0 {
    		u.finishInternal()
    		return
    	}
    	flr := findfunc(frame.lr)
    	if !flr.valid() {
    		// This happens if you get a profiling interrupt at just the wrong time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    === Potential breaking changes
    
    The changes in this section have the potential to break your build, but the vast majority have been deprecated for quite some time and few builds will be affected by a large number of them.
    We strongly recommend upgrading to Gradle 4.10 first to get a report on what deprecations affect your build.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * {@code isDone()} method always returns {@code true}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture(
          @ParametricNullness V value) {
        if (value == null) {
          // This cast is safe because null is assignable to V for all V (i.e. it is bivariant)
          @SuppressWarnings("unchecked")
          ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL;
          return typedNull;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Sets.java

          return Iterators.find(unfiltered.iterator(), predicate);
        }
    
        @Override
        @ParametricNullness
        public E last() {
          SortedSet<E> sortedUnfiltered = (SortedSet<E>) unfiltered;
          while (true) {
            E element = sortedUnfiltered.last();
            if (predicate.apply(element)) {
              return element;
            }
            sortedUnfiltered = sortedUnfiltered.headSet(element);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top