Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 394 for consistent (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/separate-openapi-schemas.md

    </div>
    
    With this feature from **Pydantic v2**, your API documentation is more **precise**, and if you have autogenerated clients and SDKs, they will be more precise too, with a better **developer experience** and consistency. 🎉
    
    ## Do not Separate Schemas { #do-not-separate-schemas }
    
    Now, there are some cases where you might want to have the **same schema for input and output**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2-legacy.go

    	}
    
    	// Clear omitempty fields:
    	if j.ObjectV2 != nil && len(j.ObjectV2.PartIndices) > 0 {
    		j.ObjectV2.PartIndices = j.ObjectV2.PartIndices[:0]
    	}
    	o, err = j.UnmarshalMsg(bts)
    
    	// Fix inconsistent x-minio-internal-replication-timestamp by converting to UTC.
    	// Fixed in version 2 or later
    	if err == nil && j.Type == DeleteType && v < 2 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Call readBytesWireFormat multiple times
            for (int i = 0; i < 5; i++) {
                int result = response.readBytesWireFormat(buffer, bufferIndex);
                assertEquals(2, result, "Should consistently return 2 on call " + (i + 1));
            }
        }
    
        @Test
        @DisplayName("Test edge case with maximum buffer index")
        void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            long time = System.currentTimeMillis();
            // UTime is seconds since epoch, so divide by 1000
            long unixTime = time / 1000L;
    
            // Mocking date for timezone consistency
            TimeZone original = TimeZone.getDefault();
            try {
                TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
                ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertNotSame(response1, response2);
            assertEquals(100, response1.getAvailable());
            assertEquals(0, response2.getAvailable());
        }
    
        @Test
        @DisplayName("All write methods should consistently return 0")
        void testAllWriteMethodsReturnZero() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
            assertEquals(0, response.writeSetupWireFormat(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Inner class for handling updates to the character mapping file.
         * This class manages the temporary file creation, writing operations,
         * and atomic updates to ensure data consistency during modifications.
         */
        protected class MappingUpdater implements Closeable {
    
            /** Flag indicating whether changes should be committed to the file. */
            protected boolean isCommit = false;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInteger.java

      public static final UnsignedInteger ONE = fromIntBits(1);
      public static final UnsignedInteger MAX_VALUE = fromIntBits(-1);
    
      private final int value;
    
      private UnsignedInteger(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        this.value = value & 0xffffffff;
      }
    
      /**
       * Returns an {@code UnsignedInteger} corresponding to a given bit representation. The argument is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Verify - invalid case format should return empty due to exception
            assertFalse(result.isPresent());
        }
    
        // Test multiple calls to ensure consistency
        public void test_findBusinessLocale_multipleCallsConsistency() {
            // Setup mock config
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

             * Returns the Maven 4 phase name.
             *
             * @return the Maven 4 phase name
             */
            String v4Phase();
        }
    
        /**
         * A link from a phase to another phase, consisting of a type which can be
         * {@link Kind#BEFORE} or {@link Kind#AFTER}, and a {@link Pointer} to
         * another phase.
         */
        interface Link {
            enum Kind {
                BEFORE,
                AFTER
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top