Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for createMutable (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformWorkspaceIdentity.java

            return uniqueId.equals(that.uniqueId);
        }
    
        @Override
        public int hashCode() {
            return uniqueId.hashCode();
        }
    
        public static TransformWorkspaceIdentity createMutable(
            String normalizedInputArtifactPath,
            String producerBuildTreePath,
            ValueSnapshot secondaryInputsSnapshot,
            HashCode dependenciesHash
        ) {
            Hasher hasher = Hashing.newHasher();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 10:18:24 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/MutableTransformExecution.java

        @Override
        protected TransformWorkspaceIdentity createIdentity(Map<String, ValueSnapshot> identityInputs, Map<String, CurrentFileCollectionFingerprint> identityFileInputs) {
            return TransformWorkspaceIdentity.createMutable(
                normalizeAbsolutePath(inputArtifact.getAbsolutePath()),
                producerBuildTreePath,
                identityInputs.get(AbstractTransformExecution.SECONDARY_INPUTS_HASH_PROPERTY_NAME),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:14:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                      @Override
                      Table<String, Integer, Character> createTable() {
                        return HashBasedTable.create();
                      }
    
                      @Override
                      public Set<Cell<String, Integer, Character>> create(Object... elements) {
                        Table<String, Integer, Character> table = createTable();
                        for (Object element : elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. migrator.go

    	// AutoMigrate
    	AutoMigrate(dst ...interface{}) error
    
    	// Database
    	CurrentDatabase() string
    	FullDataTypeOf(*schema.Field) clause.Expr
    	GetTypeAliases(databaseTypeName string) []string
    
    	// Tables
    	CreateTable(dst ...interface{}) error
    	DropTable(dst ...interface{}) error
    	HasTable(dst interface{}) bool
    	RenameTable(oldName, newName interface{}) error
    	GetTables() (tableList []string, err error)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBiMap.java

      private void init(int expectedSize) {
        checkNonnegative(expectedSize, "expectedSize");
        int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR);
        this.hashTableKToV = createTable(tableSize);
        this.hashTableVToK = createTable(tableSize);
        this.firstInKeyInsertionOrder = null;
        this.lastInKeyInsertionOrder = null;
        this.size = 0;
        this.mask = tableSize - 1;
        this.modCount = 0;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  6. tests/postgres_test.go

    		t.Skip()
    	}
    
    	type Thing struct {
    		gorm.Model
    		SomeID  string
    		OtherID string
    		Data    string
    	}
    
    	DB.Migrator().DropTable(&Thing{})
    	DB.Migrator().CreateTable(&Thing{})
    	if err := DB.Exec("ALTER TABLE things ADD CONSTRAINT some_id_other_id_unique UNIQUE (some_id, other_id)").Error; err != nil {
    		t.Error(err)
    	}
    
    	thing := Thing{
    		SomeID:  "1234",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashing.java

        return Math.max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0f));
      }
    
      /** Creates and returns a properly-sized array with the given number of buckets. */
      static Object createTable(int buckets) {
        if (buckets < 2
            || buckets > Ints.MAX_POWER_OF_TWO
            || Integer.highestOneBit(buckets) != buckets) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

      /**
       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
       *       CompactHashing.createTable, whose values are either
       *       <ul>
       *         <li>UNSET, meaning "null pointer"
       *         <li>one plus an index into the entries and elements array
       *       </ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

      /**
       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
       *       CompactHashing.createTable, whose values are either
       *       <ul>
       *         <li>UNSET, meaning "null pointer"
       *         <li>one plus an index into the entries and elements array
       *       </ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilder.java

                    args.add(compileOptions.getAnnotationProcessorGeneratedSourcesDirectory().getPath());
                }
            }
    
            /*This is an internal option, it's used in com.sun.tools.javac.util.Names#createTable(Options options). The -XD backdoor switch is used to set it, as described in a comment
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:08 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top