Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 274 for Cast (0.05 sec)

  1. 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
    - 64.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                  return true;
                }
              }
            }
            sum += segment.modCount;
          }
          if (sum == last) {
            break;
          }
          last = sum;
        }
        return false;
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
      @Override
      public V put(K key, V value) {
        checkNotNull(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

                public V next() {
                  if (!hasNext()) {
                    throw new NoSuchElementException();
                  }
                  i++;
                  /*
                   * The cast is safe because of the containsKey check in hasNext(). (That means it's
                   * unsafe under concurrent modification, but all bets are off then, anyway.)
                   */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multimaps.java

                public V next() {
                  if (!hasNext()) {
                    throw new NoSuchElementException();
                  }
                  i++;
                  /*
                   * The cast is safe because of the containsKey check in hasNext(). (That means it's
                   * unsafe under concurrent modification, but all bets are off then, anyway.)
                   */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  5. pkg/proxy/endpointschangetracker_test.go

    		} else {
    			for i := range expected[x] {
    				newEp, ok := newMap[x][i].(*BaseEndpointInfo)
    				if !ok {
    					t.Fatalf("Failed to cast endpointInfo")
    				}
    				if !endpointEqual(newEp, expected[x][i]) {
    					t.Fatalf("expected new[%v][%d] to be %v, got %v"+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    	// version of the most recent tag.
    	// See https://golang.org/issue/29433, https://golang.org/issue/27009, and
    	// https://golang.org/issue/31549.
    
    	// Cast about for import comments,
    	// first in top-level directory, then in subdirectories.
    	list, _ := os.ReadDir(dir)
    	for _, info := range list {
    		if info.Type().IsRegular() && strings.HasSuffix(info.Name(), ".go") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    	if len(sa.Dev) > IFNAMSIZ-1 {
    		return nil, 0, EINVAL
    	}
    
    	*(*uint16)(unsafe.Pointer(&sa.raw[0])) = AF_PPPOX
    	// This next field is in host-endian byte order. We can't use the
    	// same unsafe pointer cast as above, because this value is not
    	// 32-bit aligned and some architectures don't allow unaligned
    	// access.
    	//
    	// However, the value of px_proto_oe is 0, so we can use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  9. go.sum

    github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
    github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
    github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
    github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
  10. go.sum

    github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
    github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
    github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
    github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
    github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 93.1K bytes
    - Viewed (0)
Back to top