Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,291 for current (0.04 sec)

  1. guava/src/com/google/common/hash/ChecksumHashFunction.java

          if (bits == 32) {
            /*
             * The long returned from a 32-bit Checksum will have all 0s for its second word, so the
             * cast won't lose any information and is necessary to return a HashCode of the correct
             * size.
             */
            return HashCode.fromInt((int) value);
          } else {
            return HashCode.fromLong(value);
          }
        }
      }
    
      @J2ObjCIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-cookies.md

    /// tip
    
    Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.
    
    So, you will have to make sure your data is of the correct type. E.g. it is compatible with JSON, if you are returning a `JSONResponse`.
    
    And also that you are not sending any data that should have been filtered by a `response_model`.
    
    ///
    
    ### More info { #more-info }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ForwardingValueGraph.java

    import java.util.Optional;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class to allow {@link ValueGraph} implementations to be backed by a provided delegate. This is
     * not currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     */
    abstract class ForwardingValueGraph<N, V> extends AbstractValueGraph<N, V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("application/zip", "extractor/zip/test.zip", "hoge.zip");
            assertContentType("application/x-lharc", "extractor/lha/test.lzh", "hoge.lzh"); // TODO is it correct?
    
            assertContentType("application/xml", "extractor/test.mm", "hoge.mm");
    
            assertContentType("message/rfc822", "extractor/eml/sample1.eml", "sample1.eml");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

        @Test
        void testWitnessEventTypes() {
            assertEquals(7, WitnessEventType.values().length);
    
            WitnessEventType[] events = WitnessEventType.values();
    
            // Verify all expected event types with correct values
            assertEquals(1, WitnessEventType.RESOURCE_CHANGE.getValue());
            assertEquals(2, WitnessEventType.CLIENT_MOVE.getValue());
            assertEquals(3, WitnessEventType.SHARE_MOVE.getValue());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                // Act
                SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx());
    
                // Assert: observable properties still correct
                assertEquals(flags, pipe.getPipeType());
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

         */
        @Test
        void testGetFlags() {
            int expectedFlags = 0xAABBCCDD;
            AvFlags avFlags = new AvFlags(expectedFlags);
            assertEquals(expectedFlags, avFlags.getFlags(), "getFlags should return the correct integer value");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            assertEquals(targetName, avTargetName.getTargetName(), "Retrieved target name should match the original string");
        }
    
        /**
         * Test getTargetName() method with raw bytes input.
         * Verifies that the correct string is reconstructed from raw UTF-16LE bytes.
         */
        @Test
        void testGetTargetNameFromRawBytesConstructor() {
            String originalString = "RawBytesTarget";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals("\\", request.getPath());
    
            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
        @DisplayName("Test getPath returns correct formatted path")
        void testGetPath() {
            request = new Smb2CreateRequest(mockConfig, "share\\file.txt");
            assertEquals("\\share\\file.txt", request.getPath());
    
            request.setPath("newpath\\newfile.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            @Test
            @DisplayName("Should have correct constant values for PreauthIntegrityNegotiateContext")
            void testPreauthConstants() {
                assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
                assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512);
            }
    
            @Test
            @DisplayName("Should have correct constant values for EncryptionNegotiateContext")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top