Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 5,198 for new1 (0.02 seconds)

  1. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

                // Create and encode
                FileEndOfFileInformation original = new FileEndOfFileInformation(testValue);
                byte[] buffer = new byte[8];
                int encoded = original.encode(buffer, 0);
    
                assertEquals(8, encoded);
    
                // Decode into new instance
                FileEndOfFileInformation decoded = new FileEndOfFileInformation();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        return new StringSourceFactory();
      }
    
      public static ByteSourceFactory byteArraySourceFactory() {
        return new ByteArraySourceFactory();
      }
    
      public static ByteSourceFactory emptyByteSourceFactory() {
        return new EmptyByteSourceFactory();
      }
    
      public static CharSourceFactory emptyCharSourceFactory() {
        return new EmptyCharSourceFactory();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicConstructors(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception()));
      }
    
      public void testNotifyFailedWhenTerminated() {
        NoOpService service = new NoOpService();
        service.startAsync().awaitRunning();
        service.stopAsync().awaitTerminated();
        assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception()));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception()));
      }
    
      public void testNotifyFailedWhenTerminated() {
        NoOpService service = new NoOpService();
        service.startAsync().awaitRunning();
        service.stopAsync().awaitTerminated();
        assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception()));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsDuplicateHostCA.java

            DuplicateHostCQ cq = new DuplicateHostCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                DuplicateHostCA ca = new DuplicateHostCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 50.7K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsBoostDocumentRuleCA.java

            BoostDocumentRuleCQ cq = new BoostDocumentRuleCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                BoostDocumentRuleCA ca = new BoostDocumentRuleCA();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 50.6K bytes
    - Click Count (1)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformDocument(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformDocument(Document mainDocbookTemplate) {
            ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

        @Named // qualifier is required for SiduDIBridge to work
        DefaultToolchainManagerV3 v3Manager() {
            return new DefaultToolchainManagerV3();
        }
    
        @Provides
        @Priority(10)
        @Typed(org.apache.maven.api.services.ToolchainManager.class)
        DefaultToolchainManagerV4 v4Manager() {
            return new DefaultToolchainManagerV4();
        }
    
        @Provides
        @Typed(ToolchainFactory.class)
        @Named("jdk")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertThat(map.putInstance(Integer.class, new Integer(5))).isNull();
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 20:00:15 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top