Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,088 for different (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.util.regex.Pattern;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates fresh instances of types that are different from each other (if possible).
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    @SuppressWarnings("nullness")
    class FreshValueGenerator {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          other.start(addressA, 0)
    
          // Same address with bound port is okay.
          other.start(addressA, other.port)
    
          // Different address is not okay.
          assertFailsWith<IllegalStateException> {
            other.start(addressB, 0)
          }
    
          // Different port is not okay.
          assertFailsWith<IllegalStateException> {
            other.start(addressA, other.port - 1)
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should check if can reuse")
        void testCanReuse() {
            // When same config
            assertTrue(response.canReuse(mockContext, false));
    
            // When different config
            Configuration otherConfig = mock(Configuration.class);
            CIFSContext otherContext = mock(CIFSContext.class);
            when(otherContext.getConfig()).thenReturn(otherConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          argGroups.add(ImmutableList.of(newArgs));
        }
        tester.testEquals();
      }
    
      /**
       * Returns dummy factory arguments that are equal to {@code args} but may be different instances,
       * to be used to construct a second instance of the same equality group.
       */
      private List<Object> generateEqualFactoryArguments(
          Invokable<?, ?> factory, List<Parameter> params, List<Object> args)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            assertSame(sharedProcessor, rule3.getResponseProcessor());
    
            // Different rule IDs
            assertEquals("rule1", rule1.getRuleId());
            assertEquals("rule2", rule2.getRuleId());
            assertEquals("rule3", rule3.getRuleId());
    
            // Different match results
            ResponseData responseData = new ResponseData();
            assertTrue(rule1.match(responseData));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            assertDoesNotThrow(() -> request.setFileId(unspecifiedFileId), "Should handle unspecified file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle different file ID sizes")
        void testDifferentFileIdSizes() {
            // Test various file ID sizes
            byte[] shortFileId = new byte[8];
            byte[] standardFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            byte[] buffer = new byte[100];
    
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test size calculation with different buffer sizes")
        void testSizeCalculationWithDifferentBufferSizes() {
            // Test with smaller maximum buffer size
            when(mockConfig.getMaximumBufferSize()).thenReturn(8192);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertSame(transaction, result);
        }
    
        @Test
        @DisplayName("Test pad calculation with various offsets")
        void testPadCalculation() {
            // Test pad calculation with different alignment values
            assertEquals(0, transaction.pad(0)); // Already aligned
            assertEquals(0, transaction.pad(4)); // Already aligned
            assertEquals(0, transaction.pad(8)); // Already aligned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/additional-responses.md

    /// note | Remarque
    
    Notez que vous devez retourner l'image en utilisant directement un `FileResponse`.
    
    ///
    
    /// info
    
    À moins que vous ne spécifiiez explicitement un type de média différent dans votre paramètre `responses`, FastAPI supposera que la réponse a le même type de média que la classe de réponse principale (par défaut `application/json`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top