Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 180 for tryFind (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null);
    
            // Then - should not throw during construction
            assertNotNull(reqWithNull);
    
            // But should throw when trying to use the null path
            assertThrows(NullPointerException.class, () -> {
                reqWithNull.size();
            });
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

        return executor.submit(
            () -> {
              boolean createSymlink = false;
              while (!Thread.interrupted()) {
                try {
                  // trying to switch between a real directory and a symlink (dir -> /a)
                  if (Files.deleteIfExists(file)) {
                    if (createSymlink) {
                      Files.createSymbolicLink(file, target);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    return found;
                }
            }
    
            IOException ex = null;
            for (final Address addr : addrs) {
                if (log.isDebugEnabled()) {
                    log.debug("Trying address {}", addr);
                }
                try (SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class)) {
                    try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

            public Type getRawType() {
              return new TypeCapture<T>() {}.capture();
            }
          };
        }
      }
    
      public void testResolveType_parameterizedType() {
        @SuppressWarnings("rawtypes") // trying to test raw type
        Parameterized<?, ?, ?> parameterized =
            new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
        TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

            public Type getRawType() {
              return new TypeCapture<T>() {}.capture();
            }
          };
        }
      }
    
      public void testResolveType_parameterizedType() {
        @SuppressWarnings("rawtypes") // trying to test raw type
        Parameterized<?, ?, ?> parameterized =
            new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
        TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            byte[] buffer = new byte[256];
    
            // Should throw NullPointerException when trying to copy null array
            assertThrows(NullPointerException.class, () -> {
                requestWithNull.writeBytesWireFormat(buffer, 0);
            });
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. internal/kms/config.go

    // replicating objects. It's enabled by default. To disable it, set:
    //
    //	MINIO_KMS_REPLICATE_KEYID=off
    //
    // Some deployments use different KMS clusters with destinct keys on
    // each site. Trying to replicate the KMS key ID can cause requests
    // to fail in such setups.
    func ReplicateKeyID() bool { return replicateKeyID() }
    
    // ConnectionOptions is a structure containing options for connecting
    // to a KMS.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
                    transport.connect();
    
                    /*
                     * Session Setup And X Request / Response
                     */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * fails and something failed during startup before service.start was called on all the services,
       * then awaitStopped would deadlock due to an IllegalStateException that was thrown when trying to
       * stop the timer(!).
       */
      public void testFailStart_stopOthers() throws TimeoutException {
        Service a = new FailStartService();
        Service b = new NoOpService();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top