Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,414 for empty (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
        cursor: Buffer.UnsafeCursor,
        key: ByteArray,
      ) {
        var keyIndex = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

       * @param reason Reason for shutting down or `null`.
       */
      @Throws(IOException::class)
      fun writeClose(
        code: Int,
        reason: ByteString?,
      ) {
        var payload = ByteString.EMPTY
        if (code != 0 || reason != null) {
          if (code != 0) {
            validateCloseCode(code)
          }
          payload =
            Buffer().run {
              writeShort(code)
              if (reason != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

            __createdBySelect = false;
        }
    
        // ===================================================================================
        //                                                                        Empty String
        //                                                                        ============
        protected String convertEmptyToNull(String value) {
            return (value != null && value.length() == 0) ? null : value;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.pac.PACDecodingException;
    
    /**
     * Test class for {@link KerberosToken}.
     */
    class KerberosTokenTest {
    
        /**
         * Test constructor with an empty token.
         */
        @Test
        void testConstructorWithEmptyToken() {
            byte[] emptyToken = new byte[0];
            assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

         */
        public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ticket");
            }
    
            ASN1Sequence sequence;
            try {
                try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                    new Locale("pt", "BR") };
    
            for (Locale locale : testLocales) {
                OptionalThing<String> result = provider.determineAlias(locale);
                assertFalse("Should return empty for locale: " + locale, result.isPresent());
            }
        }
    
        public void test_provide_withSpecialCharacters() {
            // Test classification names with special characters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withEmptyMessage() {
            // Test constructor with empty message
            String message = "";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

    import java.util.Date
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.toHeaders
    import org.junit.jupiter.api.Test
    
    class HeadersJvmTest {
      @Test fun byteCount() {
        assertThat(Headers.EMPTY.byteCount()).isEqualTo(0L)
        assertThat(
          Headers
            .Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         *
         * @param userCode the unique code identifying the user
         * @param urlList the list of URLs to check against the user's favorites
         * @return a list of URLs from the input list that are in the user's favorites, or an empty list if the user is not found or has no matching favorites
         */
        public List<String> getUrlList(final String userCode, final List<String> urlList) {
            if (urlList.isEmpty()) {
                return urlList;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

        }
    
        /**
         * Retrieves a specific request header by its ID.
         *
         * @param id the unique identifier of the request header
         * @return an OptionalEntity containing the request header if found, empty otherwise
         */
        public OptionalEntity<RequestHeader> getRequestHeader(final String id) {
            return requestHeaderBhv.selectByPK(id);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top