Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1891 - 1900 of 5,478 for newA (0.02 seconds)

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. android/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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    public class ResultDataTest extends PlainTestCase {
    
        public void test_setRawData() {
            // ## Arrange ##
            final ResultData resultData = new ResultData();
            final Object rawData = new Object();
    
            // ## Act ##
            resultData.setRawData(rawData);
    
            // ## Assert ##
            assertEquals(rawData, resultData.getRawData());
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.4K 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

            List<MetadataRequest> requests = new ArrayList<>();
    
            for (String pluginGroup : candidates.keySet()) {
                org.eclipse.aether.metadata.Metadata metadata =
                        new DefaultMetadata(pluginGroup, "maven-metadata.xml", DefaultMetadata.Nature.RELEASE_OR_SNAPSHOT);
    
                requests.add(new MetadataRequest(metadata, null, REPOSITORY_CONTEXT).setTrace(trace));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 17 13:14:10 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            assertArgumentNotNull("props", props);
            assertArgumentNotNull("in", in);
    
            try {
                props.load(in);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(Reader)}.
         * <p>
         * The input reader is not closed.
         * </p>
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            return asJson(new ApiConfigResponse().setting(webConfigService.getWebConfig(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new web configuration setting.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top