Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 2,391 for set (0.04 sec)

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

            ALLOWS_NULL_KEYS);
      }
    
      /**
       * Map generator that verifies that {@code setUp()} methods are called in all the test cases. The
       * {@code setUpRan} parameter is set true by the {@code setUp} that every test case is supposed to
       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-nested-models.md

    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[14] *}
    
    ## Tipo "set"
    
    
    Mas então, quando nós pensamos mais, percebemos que as tags não devem se repetir, elas provavelmente devem ser strings únicas.
    
    E que o Python tem um tipo de dados especial para conjuntos de itens únicos, o `set`.
    
    Então podemos importar `Set` e declarar `tags` como um `set` de `str`s:
    
    
    {* ../../docs_src/body_nested_models/tutorial003.py hl[1,14] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on
       * {@link #listenersField}.
       */
      final boolean casListeners(@Nullable Listener expect, Listener update) {
        return ATOMIC_HELPER.casListeners(this, expect, update);
      }
    
      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#getAndSet get-and-set} operation on {@link
       * #listenersField}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            }
    
            private Set<Artifact> createArtifacts(
                    ArtifactFactory artifactFactory,
                    Set<Artifact> dependencies,
                    String inheritedScope,
                    ArtifactFilter dependencyFilter)
                    throws InvalidVersionSpecificationException {
                Set<Artifact> projectArtifacts = new HashSet<>();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @param eh the uncaught exception handler to set
         */
        @Override
        public void setUncaughtExceptionHandler(final UncaughtExceptionHandler eh) {
            super.setUncaughtExceptionHandler(eh);
        }
    
        /**
         * Sets the default uncaught exception handler for all threads.
         *
         * @param eh the default uncaught exception handler to set
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

        }
    
        @Test
        @DisplayName("prepare should not set sessionId if not received yet")
        void testPrepareWithoutReceivedDoesNotPropagate() {
            Smb2SessionSetupResponse resp = newResponse();
            // Set a sessionId, but do not mark as received via decode
            resp.setSessionId(0x1234L);
    
            CIFSContext mockCtx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @Test
            @DisplayName("Should set data with offset and length")
            void testSetData() {
                byte[] data = new byte[1024];
                new Random().nextBytes(data);
    
                assertDoesNotThrow(() -> request.setData(data, 0, data.length));
            }
    
            @Test
            @DisplayName("Should set data with partial buffer")
            void testSetDataPartialBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            jobLog.setEndTime(null);
    
            MonitorTarget target = new MonitorTarget(jobLog);
            try {
                target.expired();
                // If it succeeds, check that lastUpdated is set
                assertNotNull(jobLog.getLastUpdated());
            } catch (Exception e) {
                // Expected in test environment due to missing client
                assertTrue(e.getMessage().contains("client"));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SecurityInfo interface constants
     */
    class SecurityInfoTest {
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top