Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2881 - 2890 of 3,279 for 1final (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

     * AbstractFuture}, which offers an extensible version of the API.
     *
     * @author Sven Mawson
     * @since 9.0 (in 1.0 as {@code ValueFuture})
     */
    @GwtCompatible
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
       * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      public void testNewProxyCantWorkOnAClass() throws Exception {
        assertThrows(
            IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER));
      }
    
      private static final InvocationHandler X_RETURNER =
          new InvocationHandler() {
            @Override
            public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
              return "x";
            }
          };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

    import java.net.URL;
    import java.net.URLClassLoader;
    import org.jspecify.annotations.NullUnmarked;
    
    // TODO(b/65488446): Make this a public API.
    /** Utility method to parse the system class path. */
    @NullUnmarked
    final class ClassPathUtil {
      private ClassPathUtil() {}
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     *   <li>happy‑path behaviour</li>
     *   <li>boundary arguments (e.g., negative indices, large values)</li>
     *   <li>string representation containing the class name</li>
     *   <li>null buffer handling</li>
     * </ul>
     */
    final class TransWaitNamedPipeResponseTest {
    
        /**
         * Verify that the default constructor creates an instance.
         */
        @Test
        void constructorInitialisesInstance() {
            // Arrange & Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

     */
    public class Smb2RdmaTransformCapabilitiesContext implements NegotiateContextRequest, NegotiateContextResponse {
    
        // Context type
        /** Context ID for RDMA transform capabilities */
        public static final int CONTEXT_ID = Smb2Constants.SMB2_RDMA_TRANSFORM_CAPABILITIES;
    
        // Transform count and reserved fields
        private int transformCount = 1; // Number of transforms (always 1 for SMBDirect)
        private int reserved1 = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         * Tests a simple round‑trip encode → decode retains the original value.
         */
        @Test
        @DisplayName("Basic round‑trip for a fixed value")
        public void testEncodeRoundTrip() throws NdrException {
            final long original = 0x1122334455667788L;
            NdrHyper hyper = new NdrHyper(original);
            // Create buffer with extra space for alignment
            NdrBuffer buf = new NdrBuffer(new byte[16], 0);
            hyper.encode(buf);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
        sink = new TestCharSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

    /**
     * Decrypts passwords in the settings.
     *
     * @deprecated since 4.0.0
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsDecrypter implements SettingsDecrypter {
        private final SecDispatcher securityDispatcher;
    
        @Inject
        public DefaultSettingsDecrypter(MavenSecDispatcher securityDispatcher) {
            this.securityDispatcher = securityDispatcher;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Nov 16 13:55:43 GMT 2024
    - 6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        /**
         *
         */
        private static final long serialVersionUID = -4090263879887877186L;
    
        private static final Logger log = LoggerFactory.getLogger(NtlmPasswordAuthenticator.class);
        private static final SecureKeyManager keyManager = new SecureKeyManager();
        private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance();
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

          }
        } else {
          for (int i = 0; i < reps; i++) {
            dummy += ImmutableSortedSet.copyOf(input).first();
          }
        }
        return dummy;
      }
    
      private static final Ordering<Integer> ORDERING = Ordering.natural();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top