Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 482 for yields (0.05 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            verify(spyAuth, times(1)).getPasswordAsCharArray();
        }
    
        @Test
        @DisplayName("clone: copies fields and cached subject; instances are independent")
        void testCloneCopiesFieldsAndIndependence() throws Exception {
            // Use configuration-based constructor to also exercise copying of configuration/service fields
            JAASAuthenticator orig = new JAASAuthenticator(new HashMap<String, String>(), "DOM", "user", "pass");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

     * Runs a [TaskRunner] in a controlled environment so that everything is sequential and
     * deterministic.
     *
     * This class ensures that at most one thread is running at a time. This is initially the JUnit test
     * thread, which yields its execution privilege while calling [runTasks], [runNextTask], or
     * [advanceUntil]. These functions don't return until the task threads are all idle.
     *
     * Task threads release their execution privilege in these ways:
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs();
            assertNotNull(mechs);
            assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs);
        }
    
        @Test
        @DisplayName("getFlags with all false yields 0")
        void getFlags_allFalse() {
            when(gssContext.getCredDelegState()).thenReturn(false);
            when(gssContext.getMutualAuthState()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            Class<?> cls = req.getClass().getSuperclass(); // ServerMessageBlock2Request
            Field f = cls.getSuperclass().getDeclaredField("next"); // ServerMessageBlock2.next
            f.setAccessible(true);
            return f.get(req);
        }
    
        /**
         * Reflectively set the private 'results' field on Smb2QueryDirectoryResponse.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            verify(nsc, times(1)).getAllByName("server", true);
            assertTrue(l3.hasNextAddress());
            assertSame(a3, l3.getNextAddress());
            assertFalse(l3.hasNextAddress());
    
            // UnknownHostException yields CIFSException
            when(nsc.getAllByName("badhost", true)).thenThrow(new UnknownHostException("nope"));
            SmbResourceLocatorImpl bad = locator("smb://badhost/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

       * usually have much noticeable impact. A value of one permits only one thread to modify the map
       * at a time, but since read operations can proceed concurrently, this still yields higher
       * concurrency than full synchronization. Defaults to 4.
       *
       * <p><b>Note:</b> Prior to Guava release 9.0, the default was 16. It is possible the default will
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Divides an iterable into unmodifiable sublists of the given size (the final iterable may be
       * smaller). For example, partitioning an iterable containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterable containing two
       * inner lists of three and two elements, all in the original order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
       * documented at {@link Function#apply}). For example, this function yields different results for
       * the two equal instances {@code ImmutableSet.of(1, 2)} and {@code ImmutableSet.of(2, 1)}.
       *
       * <p><b>Warning:</b> as with all function types in this package, avoid depending on the specific
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. cmd/tier.go

    	return d, nil
    }
    
    // configReader returns a PutObjReader and ObjectOptions needed to save config
    // using a PutObject API. PutObjReader encrypts json encoded tier configurations
    // if KMS is enabled, otherwise simply yields the json encoded bytes as is.
    // Similarly, ObjectOptions value depends on KMS' status.
    func (config *TierConfigMgr) configReader(ctx context.Context) (*PutObjReader, *ObjectOptions, error) {
    	b, err := config.Bytes()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top