Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2341 - 2350 of 3,901 for 1final (0.04 seconds)

  1. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final BeanMap map = new BeanMap();
            map.put("aaa", 1);
            map.put("bbb", 2);
            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

    /**
     * Subtype UNIX socket for a higher-fidelity impersonation of TCP sockets. This is named "tunneling"
     * because it assumes the ultimate destination has a hostname and port.
     */
    final class TunnelingUnixSocket extends UnixSocket {
      private final File path;
      private InetSocketAddress inetSocketAddress;
    
      TunnelingUnixSocket(File path, UnixSocketChannel channel) {
        super(channel);
        this.path = path;
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

     */
    public class DisniRdmaConnection extends RdmaConnection {
    
        private static final Logger log = LoggerFactory.getLogger(DisniRdmaConnection.class);
    
        // DiSNI objects - would be actual DiSNI types in real implementation
        private final Object endpoint; // RdmaActiveEndpoint
        private final Object group; // RdmaActiveEndpointGroup<DisniRdmaEndpoint>
    
        /**
         * Create new DiSNI RDMA connection
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

      private static class BadLengthFile extends File {
    
        private final long badLength;
    
        BadLengthFile(File delegate, long badLength) {
          super(delegate.getPath());
          this.badLength = badLength;
        }
    
        @Override
        public long length() {
          return badLength;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      public void testToString() throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

          map.put(entry.getKey(), entry.getValue());
        }
      }
    
      static final Predicate<String> FILTER_KEYS =
          new Predicate<String>() {
            @Override
            public boolean apply(@Nullable String string) {
              return !Objects.equals(string, "banana") && !Objects.equals(string, "eggplant");
            }
          };
    
      static final Predicate<String> FILTER_VALUES =
          new Predicate<String>() {
            @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * @see #location()
         */
        private final JavaFileManager.Location location;
    
        /**
         * The tools option for this path, or {@code null} if none.
         *
         * @see #option()
         */
        private final String option;
    
        /**
         * Creates a new enumeration value for a path associated to the given tool option.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        public void execute(Runnable command) {
          command.run();
          runCount++;
        }
      }
    
      private final class MockCallback implements FutureCallback<String> {
        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         */
        public void addProfileActivation(String id, boolean active, boolean optional) {
            final ActivationSettings settings = ActivationSettings.of(active, optional);
            this.activations.put(id, settings);
        }
    
        private Set<String> getProfileIds(final Predicate<ActivationSettings> predicate) {
            return this.activations.entrySet().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

     */
    public class RdmaErrorHandler {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class);
    
        // Retry and timing constants (in ms)
        private static final long MAX_RETRY_DELAY = 10000; // 10 seconds maximum delay
        private static final int MAX_BACKOFF_SHIFT = 4; // Maximum 16x multiplier
    
        private final RdmaStatistics statistics;
        private final int maxRetries;
        private final long retryDelayMs;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top