Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2191 - 2200 of 3,445 for onex (0.02 seconds)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

      private static boolean isDeclaredThreadSafe(Method method) {
        return method.getAnnotation(AllowConcurrentEvents.class) != null;
      }
    
      /**
       * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter
       * the method at a time.
       */
      @VisibleForTesting
      static final class SynchronizedSubscriber extends Subscriber {
    
        private SynchronizedSubscriber(EventBus bus, Object target, Method method) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Base class for services that do not need a thread while "running" but may need one during startup
     * and shutdown. Subclasses can implement {@link #startUp} and {@link #shutDown} methods, each which
     * run in an executor which by default uses a separate thread for each method.
     *
     * @author Chris Nokleberg
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
        SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingMapEntry.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A map entry which forwards all its method calls to another map entry. Subclasses should override
     * one or more methods to modify the behavior of the backing map entry as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/CIFSContext.java

    import java.net.URLStreamHandler;
    
    /**
     * Encapsulation of client context
     *
     *
     * A context holds the client configuration, shared services as well as the active credentials.
     *
     * Usually you will want to create one context per client configuration and then
     * multiple sub-contexts using different credentials (if necessary).
     *
     * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)}
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/http/Handler.java

        private static final String HANDLER_PKGS_PROPERTY = "java.protocol.handler.pkgs";
    
        /**
         * Vendor-specific default packages.  If no packages are specified in
         * "java.protocol.handler.pkgs", the VM uses one or more default
         * packages, which are vendor specific.  Sun's is included below
         * for convenience; others could be as well.  If a particular vendor's
         * package isn't listed, it can be specified in
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Test release (still in use because of initial transport acquire)
            session.release();
            assertTrue(session.isInUse(), "Session should still be in use after one release");
    
            // Test final release
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after all releases");
    
            // Test multiple releases (should not throw)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top