Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 2,021 for setB (0.04 sec)

  1. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor.
     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

        private final String fileName = "testFile.txt";
        private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE;
        private ServerMessageBlock andx;
    
        /**
         * Sets up the test environment before each test.
         */
        @BeforeEach
        void setUp() {
            andx = mock(ServerMessageBlock.class);
        }
    
        /**
         * Test constructor with O_CREAT and O_TRUNC flags.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. cmd/fmt-gen.go

    		format := newFormatErasureV3(setCount, setDriveCount)
    		format.ID = deploymentID
    		for i := range setCount { // for each erasure set
    			for j := range setDriveCount {
    				newFormat := format.Clone()
    				newFormat.Erasure.This = format.Erasure.Sets[i][j]
    				if deploymentID != "" {
    					newFormat.ID = deploymentID
    				}
    				drive := pool.Endpoints[i*setDriveCount+j]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Striped64.java

       * optimistic retry code, relying on rechecked sets of reads.
       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, int @Nullable [] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.j2objc.annotations.Weak;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.EnumMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testFrequency_set() {
        Set<String> set = newHashSet("a", "b", "c");
        assertEquals(1, frequency(set, "a"));
        assertEquals(1, frequency(set, "b"));
        assertEquals(1, frequency(set, "c"));
        assertEquals(0, frequency(set, "d"));
        assertEquals(0, frequency(set, 4.2));
        assertEquals(0, frequency(set, null));
      }
    
      public void testFrequency_list() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            assertEquals(newPosition, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeekNegativePosition() throws SmbException {
            // seek doesn't throw exception for negative position, it just sets it
            smbRandomAccessFile.seek(-1);
            assertEquals(-1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testReadByte() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        public boolean isAsyncHandled() {
            return this.asyncHandled;
        }
    
        /**
         * Sets whether the asynchronous interim response has been handled.
         *
         * @param asyncHandled
         *            the asyncHandled to set
         */
        public void setAsyncHandled(final boolean asyncHandled) {
            this.asyncHandled = asyncHandled;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top