Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for some (0.15 sec)

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

      }
    
      public void testNewHashSetFromCollection() {
        HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
        verifySetContents(set, SOME_COLLECTION);
      }
    
      public void testNewHashSetFromIterable() {
        HashSet<Integer> set = Sets.newHashSet(SOME_ITERABLE);
        verifySetContents(set, SOME_ITERABLE);
      }
    
      public void testNewHashSetWithExpectedSizeSmall() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * listeners for future n may complete before some for future n-1.) However, it is possible, if
       * one input completes with result X and another later with result Y, for Y to come before X in
       * the output future list. (Such races are impossible to solve without global synchronization of
       * all future completions. And they should have little practical impact.)
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *       }
         *     }
         *   }
         */
        private enum class PartialOrderOfScope(
            val scopeDistanceLevel: Int // Note: Don't use the built-in ordinal since there are some scopes that are at the same level.
        ) {
            Local(1),
            ScriptDeclarations(2),
            ClassUseSite(2),
            NestedClassifier(2),
            TypeParameter(2),
            ExplicitSimpleImporting(3),
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public enum SomeEnum {
        SOME_INSTANCE
      }
    
      public void testEnumMap() {
        EnumMap<SomeEnum, Integer> map = Maps.newEnumMap(SomeEnum.class);
        assertEquals(Collections.emptyMap(), map);
        map.put(SomeEnum.SOME_INSTANCE, 0);
        assertEquals(Collections.singletonMap(SomeEnum.SOME_INSTANCE, 0), map);
      }
    
      public void testEnumMapNullClass() {
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public enum SomeEnum {
        SOME_INSTANCE
      }
    
      public void testEnumMap() {
        EnumMap<SomeEnum, Integer> map = Maps.newEnumMap(SomeEnum.class);
        assertEquals(Collections.emptyMap(), map);
        map.put(SomeEnum.SOME_INSTANCE, 0);
        assertEquals(Collections.singletonMap(SomeEnum.SOME_INSTANCE, 0), map);
      }
    
      public void testEnumMapNullClass() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. cmd/iam.go

    	// Validate that policies associated with roles are defined. If
    	// authZ plugin is set, role policies are just claims sent to
    	// the plugin and they need not exist.
    	//
    	// If some mapped policies do not exist, we print some error
    	// messages but continue any way - they can be fixed in the
    	// running server by creating the policies after start up.
    	for arn, rolePolicies := range m {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } catch (SecurityException e) {
          generateCancellationCauses = false;
        }
        GENERATE_CANCELLATION_CAUSES = generateCancellationCauses;
      }
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
       * of this interface must also be an AbstractFuture and must not override or expose for overriding
       * any of the public methods of ListenableFuture.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    				Name:     vr.Name,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  9. cmd/xl-storage.go

    // for io.EOF.
    //
    // If an EOF happens after reading some but not all the bytes,
    // ReadFile returns ErrUnexpectedEOF.
    //
    // If the BitrotVerifier is not nil or not verified ReadFile
    // tries to verify whether the disk has bitrot.
    //
    // Additionally ReadFile also starts reading from an offset. ReadFile
    // semantics are same as io.ReadFull.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top