Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 766 for Constants (0.06 seconds)

  1. src/main/java/jcifs/smb1/smb1/WinError.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    /**
     * Windows error codes used in SMB protocol operations.
     * These constants represent standard Windows error codes returned by SMB servers.
     */
    public interface WinError {
    
        /* Don't bother to edit this. Everthing within the interface
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be 443")
            void testDefaultHttpsPortValue() {
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/path-operation-configuration.md

    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    But if you don't remember what each number code is for, you can use the shortcut constants in `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    That status code will be used in the response and will be added to the OpenAPI schema.
    
    /// note | Technical Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              IllegalAccessException,
              InvocationTargetException,
              FactoryMethodReturnsNullException {
        if (cls.isEnum()) {
          T[] constants = cls.getEnumConstants();
          if (constants != null && constants.length > 0) {
            return constants[0];
          } else {
            return null;
          }
        }
        TypeToken<T> type = TypeToken.of(cls);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

            this.pageNumberList = pageNumberList;
        }
    
        /**
         * Gets the default current page number from system constants.
         *
         * @return default current page number
         */
        protected int getDefaultCurrentPageNumber() {
            return Constants.DEFAULT_ADMIN_PAGE_NUMBER;
        }
    
        /**
         * Gets the default page size from system configuration.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/EncdecTest.java

        void testTimeOperations() {
            // Given
            Date currentDate = new Date();
            byte[] buffer = new byte[8];
    
            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be 443")
            void testDefaultHttpsPortValue() {
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

    import org.codelibs.fess.suggest.constants.FieldNames;
    import org.codelibs.fess.suggest.entity.ElevateWord;
    import org.opensearch.transport.client.Client;
    
    /**
     * The ElevateWordSettings class manages the settings for elevate words in the suggestion system.
     * It provides methods to retrieve, add, and delete elevate words from the settings.
     *
     * <p>Constants:</p>
     * <ul>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. internal/config/config.go

    	BatchSubSys          = madmin.BatchSubSys
    	BrowserSubSys        = madmin.BrowserSubSys
    	ILMSubSys            = madmin.ILMSubsys
    
    	// Add new constants here (similar to above) if you add new fields to config.
    )
    
    // Notification config constants.
    const (
    	NotifyKafkaSubSys    = madmin.NotifyKafkaSubSys
    	NotifyMQTTSubSys     = madmin.NotifyMQTTSubSys
    	NotifyMySQLSubSys    = madmin.NotifyMySQLSubSys
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            packet.readHeaderWireFormat(bais, buffer, 0);
    
            assertEquals(0x1FFFF, packet.length);
        }
    
        // Test for constants
        @Test
        @DisplayName("Constants should have expected values")
        void testConstants() {
            assertEquals(0x00, SessionServicePacket.SESSION_MESSAGE);
            assertEquals(0x81, SessionServicePacket.SESSION_REQUEST);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
Back to Top