Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,853 for breathe (0.26 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

         * This demonstrates mocking capabilities for testing.
         */
        @Test
        @DisplayName("Mock interaction example with SmbTransport")
        void mockTransportInteraction() {
            // Create a mock of SmbTransport from jcifs package
            jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class);
            // Stub the getRemoteHostName method
            when(mock.getRemoteHostName()).thenReturn("test-host");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. buildscripts/multipart-quorum-test.sh

    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${PWD}/mc" mb --with-versioning minio/bucket
    
    	export AWS_ACCESS_KEY_ID=minio
    	export AWS_SECRET_ACCESS_KEY=minio123
    	aws --endpoint-url http://localhost:"$start_port" s3api create-multipart-upload --bucket bucket --key obj-1 >upload-id.json
    	uploadId=$(jq -r '.UploadId' upload-id.json)
    
    	truncate -s 5MiB file-5mib
    	for i in {1..2}; do
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

             * 1. Under Android, the built-in TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
             * 2. Under the JDK, the built-in TypeVariable implementation does not interoperate with
             * ours. Therefore, we have to be careful about whether we create our own TypeVariable:
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

    @NullUnmarked
    public class SynchronizedTableTest extends AbstractTableTest<Character> {
      private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable {
        private final Table<R, C, V> delegate = HashBasedTable.create();
        private final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

     * which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger
     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
     * every element added, the garbage collector will have to traverse {@code 1.5} references on
     * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacSidAttributesTest.java

        private PacSidAttributes pacSidAttributes;
        private final int attributes = 12345;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            sidMock = mock(SID.class);
            // Create a new PacSidAttributes instance before each test
            pacSidAttributes = new PacSidAttributes(sidMock, attributes);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/NTLMSchemeProvider.java

            super();
        }
    
        /**
         * Creates a new NTLMScheme instance.
         * @param context The HTTP context.
         * @return A new NTLMScheme instance.
         */
        @Override
        public AuthScheme create(final HttpContext context) {
            return new NTLMScheme(new SmbjEngine());
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

    public class MinimalSetTest extends TestCase {
      public static Test suite() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  protected Set<String> create(String[] elements) {
                    return MinimalSet.of(elements);
                  }
                })
            .named("MinimalSet")
            .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ArrayTableColumnTest.java

      }
    
      @Override
      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return ArrayTable.create(asList("one", "two", "three", "four"), asList('a', 'b', 'c'));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

      @Override
      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Table<Character, String, Integer> makeTable() {
        return ArrayTable.create(asList('a', 'b', 'c'), asList("one", "two", "three", "four"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top