Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 5,129 for new1 (0.06 seconds)

  1. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements());
            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNext() throws Exception {
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements());
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
        }
    
        @Test
        public void test_spnegoConfigClass() {
            // Verify the inner class is named correctly: SpnegoConfig (not SpengoConfig)
            // This test verifies the typo fix by ensuring the class compiles
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class StripedBenchmark {
      private static final Supplier<Lock> LOCK_SUPPLIER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            initializeCleanupMonitoring();
        }
    
        private void initializeCleanupMonitoring() {
            callerInfo = new NullPointerException().getStackTrace()[2];
    
            Runnable warning = this::maybeWarnAboutCleanUp;
    
            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java

        private final Map<TransferResourceIdentifier, TransferResourceAndSize> transfers = new LinkedHashMap<>();
        private final FileSizeFormat format = new FileSizeFormat(); // use in a synchronized fashion
        private final StringBuilder buffer = new StringBuilder(128); // use in a synchronized fashion
    
        private final boolean printResourceNames;
        private int lastLength;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            super.setUp(testInfo);
            authenticator = new OpenIdConnectAuthenticator();
            final File propFile = File.createTempFile("oic_test", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "".getBytes("UTF-8"));
            systemProperties = new DynamicProperties(propFile);
            ComponentUtil.register(systemProperties, "systemProperties");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/PacMac.java

            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if (constant.length != cipher.getBlockSize()) {
                constant = expandNFold(constant, cipher.getBlockSize());
            }
            byte[] enc = constant;
            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for (int n = 0; n < klen;) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}),
                        0,
                        Ascii::toUpperCase))
            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          super(
              new UnhashableObject(1),
              new UnhashableObject(2),
              new UnhashableObject(3),
              new UnhashableObject(4),
              new UnhashableObject(5));
        }
      }
    
      public static class Colliders extends SampleElements<Object> {
        public Colliders() {
          super(new Collider(1), new Collider(2), new Collider(3), new Collider(4), new Collider(5));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}/dir", basedir);
    
            assertEquals(new File(basedir, "dir").getAbsolutePath(), aligned);
        }
    
        @Test
        void testUnalignToBasedirWherePathEqualsBasedir() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top