Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3401 - 3410 of 3,960 for trying (0.14 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    @Deprecated
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/resources/org/apache/maven/artifact/manager/DefaultWagonManagerTest.xml

          <role-hint>c</role-hint>
          <implementation>org.apache.maven.artifact.manager.WagonC</implementation>
        </component>
        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>string</role-hint>
          <implementation>org.apache.maven.artifact.manager.StringWagon</implementation>
        </component>
      </components>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultToolchainsWriter implements ToolchainsWriter {
    
        @Override
        public void write(Writer output, Map<String, Object> options, PersistedToolchains toolchains) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(toolchains, "toolchains cannot be null");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AllEqualOrdering.java

      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
        return "Ordering.allEqual()";
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. tests/benchmark_test.go

    		DB.Raw("select * from users").Scan(&u)
    	}
    }
    
    func BenchmarkUpdate(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Model(&user).Updates(map[string]interface{}{"Age": x})
    	}
    }
    
    func BenchmarkDelete(b *testing.B) {
    	user := *GetUser("find", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    		DB.Delete(&user)
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. internal/http/check_port_others.go

    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt

    import javax.inject.Inject
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class GenerateSample : DefaultTask() {
    
        @get:Input
        abstract val type: Property<String>
    
        @get:Input
        abstract val modularization: Property<ModularizationOption>
    
        @get:InputDirectory
        @get:PathSensitive(PathSensitivity.NAME_ONLY)
        abstract val readmeTemplates: DirectoryProperty
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

      @Test
      fun serverCancelsRequestBodyAndSendsResponseBody() {
        client =
          client
            .newBuilder()
            .retryOnConnectionFailure(false)
            .build()
        val log: BlockingQueue<String?> = LinkedBlockingQueue()
        enableProtocol(Protocol.HTTP_2)
        val body =
          MockSocketHandler()
            .sendResponse("success!")
            .exhaustResponse()
            .cancelStream()
        server.enqueue(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    
      private static class ParentClassHasConstant extends WithPublicConstant {}
    
      public static class WithGenericConstant<T> {
        public static final WithGenericConstant<String> STRING_CONSTANT = new WithGenericConstant<>();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top