Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for Raw (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      // We use the rawtypeToWildcard "cast" to make the test work with J2KT in other tests. Leaving one
      // test without that cast to verify that using the raw Comparable works outside J2KT.
      @J2ktIncompatible // J2KT's translation of raw Comparable is not a supertype of Int translation
      public void testCreation_expectedSize() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.expectedSize(8).create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Striped64.java

       * contention levels will recur, so the cells will eventually be
       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

          }
    
          override fun cancel() {
            exchange.cancel()
          }
        }
      }
    
      override fun route(): Route = route
    
      override fun cancel() {
        // Close the raw socket so we don't end up doing synchronous I/O.
        rawSocket?.closeQuietly()
      }
    
      override fun socket(): Socket = socket!!
    
      /** Returns true if this connection is ready to host new streams. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    					rpc.UpdateMetacacheListing(ctx, *c)
    				}
    			}
    		}()
    		o.ID = ""
    	}
    
    	// Do listing in-place.
    	// Create output for our results.
    	// Create filter for results.
    	o.debugln("Raw List", o)
    	filterCh := make(chan metaCacheEntry, o.Limit)
    	listCtx, cancelList := context.WithCancel(ctx)
    	filteredResults := o.gatherResults(listCtx, filterCh)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	var listErr error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

              return new TypeCapture<T>() {}.capture();
            }
          };
        }
      }
    
      public void testResolveType_parameterizedType() {
        @SuppressWarnings("rawtypes") // trying to test raw type
        Parameterized<?, ?, ?> parameterized =
            new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
        TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

              return new TypeCapture<T>() {}.capture();
            }
          };
        }
      }
    
      public void testResolveType_parameterizedType() {
        @SuppressWarnings("rawtypes") // trying to test raw type
        Parameterized<?, ?, ?> parameterized =
            new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
        TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      // We use the rawtypeToWildcard "cast" to make the test work with J2KT in other tests. Leaving one
      // test without that cast to verify that using the raw Comparable works outside J2KT.
      @J2ktIncompatible // J2KT's translation of raw Comparable is not a supertype of Int translation
      public void testCreation_expectedSize() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.expectedSize(8).create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Entry<K, V> nefariousMapEntry(K key, V value) {
        return new Entry<K, V>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

        @SuppressWarnings("unchecked") // guarded by previous check
        Invokable<T, R1> specialized = (Invokable<T, R1>) this;
        return specialized;
      }
    
      @SuppressWarnings("unchecked") // The declaring class is T's raw class, or one of its supertypes.
      @Override
      public final Class<? super T> getDeclaringClass() {
        return (Class<? super T>) member.getDeclaringClass();
      }
    
      /** Returns the type of {@code T}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Entry<K, V> nefariousMapEntry(K key, V value) {
        return new Entry<K, V>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
Back to top