Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2651 - 2660 of 6,076 for new1 (0.04 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EnumSerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        closingFuture.finishToValueAndCloser(
            new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor);
        assertThrows(
            IllegalStateException.class,
            () ->
                closingFuture.finishToValueAndCloser(
                    new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

        }
    
        private VersionsMetadataGenerator(RepositorySystemSession session, Collection<? extends Metadata> metadatas) {
            versions = new LinkedHashMap<>();
            processedVersions = new LinkedHashMap<>();
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. build-tools-internal/src/test/groovy/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestResultProcessorTestSpec.groovy

    import spock.lang.Specification
    
    class RerunTestResultProcessorTestSpec extends Specification {
    
        def "delegates test events"() {
            given:
            def delegate = Mock(TestResultProcessor)
            def processor = new RerunTestResultProcessor(delegate);
            def testDesciptorInternal = Mock(TestDescriptorInternal);
            def testId = "TestId"
            _ * testDesciptorInternal.getId() >> testId
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            this.roundRobinCounter = new AtomicInteger(0);
        }
    
        /**
         * Get current load balancing strategy
         *
         * @return current strategy
         */
        public LoadBalancingStrategy getStrategy() {
            return strategy;
        }
    
        /**
         * Set load balancing strategy
         *
         * @param strategy new strategy
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsDataConfigCB.java

                _specification = new HpSpecification();
            }
            return _specification;
        }
    
        protected void assertQueryPurpose() {
        }
    
        protected void assertAggregationPurpose() {
        }
    
        protected void assertSpecifyPurpose() {
        }
    
        public static class HpSpecification {
            protected List<String> columnList = new ArrayList<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

     *
     * ## Adding a new dependency with an unrecognised license
     *
     * If `./gradlew generateLicenseFile` fails with "declare a license name not registered in
     * License.kt", add the raw POM name string to the [aliases] list of the matching entry, or
     * create a new entry if the license is genuinely new.
     *
     * ## Adding a dependency whose POM has no license data
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 13:24:46 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
        boolean[] called = new boolean[1];
        f.addCallback(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateYamlAgainstSchemaTask.java

        @Override
        protected String getFileType() {
            return "YAML";
        }
    
        protected ObjectMapper getMapper() {
            return new ObjectMapper(new YAMLFactory());
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 871 bytes
    - Click Count (0)
Back to Top