Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for targetHash (0.12 seconds)

  1. guava/src/com/google/common/collect/CompactHashMap.java

      private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) {
        Object newTable = CompactHashing.createTable(newCapacity);
        int newMask = newCapacity - 1;
    
        if (targetEntryIndex != UNSET) {
          // Add target first; it must be last in the chain because its entry hasn't yet been created
          CompactHashing.tableSet(newTable, targetHash & newMask, targetEntryIndex + 1);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactHashSet.java

      private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) {
        Object newTable = CompactHashing.createTable(newCapacity);
        int newMask = newCapacity - 1;
    
        if (targetEntryIndex != UNSET) {
          // Add target first; it must be last in the chain because its entry hasn't yet been created
          CompactHashing.tableSet(newTable, targetHash & newMask, targetEntryIndex + 1);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/CompactHashMap.java

      private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) {
        Object newTable = CompactHashing.createTable(newCapacity);
        int newMask = newCapacity - 1;
    
        if (targetEntryIndex != UNSET) {
          // Add target first; it must be last in the chain because its entry hasn't yet been created
          CompactHashing.tableSet(newTable, targetHash & newMask, targetEntryIndex + 1);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

            when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod();
    
            assertEquals(Path.of("myproject", "target", "classes"), targetPath(project));
    
            scope = ProjectScope.TEST;
            assertEquals(Path.of("myproject", "target", "test-classes"), targetPath(project));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         *
         * @see #targetPath()
         * @see Project#getOutputDirectory(ProjectScope)
         */
        @Nonnull
        default Path targetPath(@Nonnull Project project) {
            Optional<Path> targetPath = targetPath();
            // The test for `isAbsolute()` is a small optimization for avoiding the call to `getOutputDirectory(…)`.
            return targetPath.filter(Path::isAbsolute).orElseGet(() -> {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Verify targetPath was preserved through conversion chain
            assertEquals(
                    "custom-output", customResource.getTargetPath(), "targetPath should be preserved in ConnectedResource");
    
            // Test that includes modification preserves targetPath (tests ConnectedResource functionality)
            customResource.addInclude("*.properties");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * <pre>{@code
         * <resource>
         *   <directory>src/main/resources</directory>
         *   <targetPath>META-INF/resources</targetPath>
         * </resource>
         * }</pre>
         * <p>
         * The maven-resources-plugin resolves {@code targetPath} as:
         * {@code project.build.outputDirectory + "/" + targetPath}, which results in
         * {@code target/classes/META-INF/resources}. This method provides the same base directory
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

                    .includes(sourceRoot.includes())
                    .excludes(sourceRoot.excludes())
                    .filtering(Boolean.toString(sourceRoot.stringFiltering()))
                    .targetPath(sourceRoot.targetPath().map(Path::toString).orElse(null))
                    .build());
            this.originalSourceRoot = sourceRoot;
            this.scope = scope;
            this.project = project;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. guava/pom.xml

              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
            <groupId>org.mvnsearch</groupId>
            <artifactId>toolchains-maven-plugin</artifactId>
          </plugin>
          <plugin>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. android/guava/pom.xml

              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
            <groupId>org.mvnsearch</groupId>
            <artifactId>toolchains-maven-plugin</artifactId>
          </plugin>
          <plugin>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top