Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 252 for pre (0.02 seconds)

  1. src/archive/tar/common.go

    	dst := src[:0]
    	var pre sparseEntry
    	for _, cur := range src {
    		if cur.Length == 0 {
    			continue // Skip empty fragments
    		}
    		pre.Length = cur.Offset - pre.Offset
    		if pre.Length > 0 {
    			dst = append(dst, pre) // Only add non-empty fragments
    		}
    		pre.Offset = cur.endOffset()
    	}
    	pre.Length = size - pre.Offset // Possibly the only empty fragment
    	return append(dst, pre)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomPackagingProvider implements PackagingProvider {
     *     public Collection&lt;Packaging&gt; provides() {
     *         return Arrays.asList(
     *             packaging("docker-image"),
     *             packaging("flatpak")
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Packaging
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Inject
     * {@literal @}Named("mysql")
     * private Repository mysqlRepository;
     * </pre>
     *
     * @see Inject
     * @see Qualifier
     * @since 4.0.0
     */
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java

     * throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Collections.singleton(language("kotlin"));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Language
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomProjectScopeProvider implements ProjectScopeProvider {
     *     public Collection&lt;ProjectScope&gt; provides() {
     *         return Collections.singleton(projectScope("integration-test"));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.ProjectScope
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for equals() and hashCode() methods of a class.
     *
     * <p>The simplest use case is:
     *
     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided lifecycles will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLifecycleProvider implements LifecycleProvider {
     *     public Collection&lt;Lifecycle&gt; provides() {
     *         return Collections.singleton(
     *             lifecycle("deploy-docker", Arrays.asList(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomPathScopeProvider implements PathScopeProvider {
     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
     *                 ProjectScope.TEST, DependencyScope.TEST));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.PathScope
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomTypeProvider implements TypeProvider {
     *     public Collection&lt;Type&gt; provides() {
     *         return Arrays.asList(
     *             type("kotlin-library", "jar", "kotlin"),
     *             type("docker-image", "tar.gz", null)
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Type
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/PredicatesTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIsNull_serialization() {
        Predicate<String> pre = Predicates.isNull();
        Predicate<String> post = SerializableTester.reserializeAndAssert(pre);
        assertEquals(pre.apply("foo"), post.apply("foo"));
        assertEquals(pre.apply(null), post.apply(null));
      }
    
      public void testNotNull_apply() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
Back to Top