Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 3,065 for base (0.04 seconds)

  1. guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testAnonymousClassWithTwoParametersConstructor() {
        abstract class Base {
          @SuppressWarnings("unused") // called by reflection
          Base(String s, int i) {}
        }
        Class<?> anonymous = new Base("test", 0) {}.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  2. tests/helper_test.go

    	if !isMysql() {
    		return false
    	}
    
    	var version string
    	if err := DB.Raw("SELECT VERSION()").Row().Scan(&version); err != nil {
    		return false
    	}
    
    	base := strings.SplitN(strings.TrimSpace(version), "-", 2)[0]
    	parts := strings.Split(base, ".")
    	if len(parts) < 2 {
    		return false
    	}
    
    	currentMajor, err := strconv.Atoi(parts[0])
    	if err != nil {
    		return false
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionDownloadPluginFuncTest.groovy

            new File(bwcSubProjectFolder, 'bwc-marker.txt') << "bwc=minor"
            new File(bwcSubProjectFolder, 'build.gradle') << """
                apply plugin:'base'
    
                // packed distro
                configurations.create("${testArchiveProjectName}")
                tasks.register("buildBwcTask", Tar) {
                    from('bwc-marker.txt')
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

     */
    
    package com.google.common.graph;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.AbstractSet;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract base class for an incident edges set that allows different implementations of {@link
     * AbstractSet#iterator()}.
     */
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

    import java.util.Objects;
    import java.util.Properties;
    
    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.slf4j.Logger;
    
    /**
     * Default abstract toolchain implementation, to be used as base class for any toolchain implementation
     * to avoid rewriting usual code.
     *
     * @since 2.0.9
     * @deprecated Use {@link org.apache.maven.api.Toolchain} instead.
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. internal/hash/crc.go

    	}
    
    	switch c.Type.Base() {
    	case ChecksumCRC32:
    		v := crc32Combine(crc32.IEEE, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size)
    		binary.BigEndian.PutUint32(c.Raw, v)
    	case ChecksumCRC32C:
    		v := crc32Combine(crc32.Castagnoli, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size)
    		binary.BigEndian.PutUint32(c.Raw, v)
    	case ChecksumCRC64NVME:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Base interface for service requests that involve remote repository operations.
     * This interface provides common functionality for requests that need to specify
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            assertEquals("param=value", queryUrl.getQuery());
        }
    
        @Test
        @DisplayName("URL handles relative paths correctly")
        void testRelativeUrlHandling() throws Exception {
            // Create base URL
            URL baseUrl = new URL(null, "smb://server/share/", handler);
    
            // Test relative path resolution
            URL relativeUrl = new URL(baseUrl, "folder/file.txt");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top