Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 133 for Mixed (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          }
        }
    
      companion object {
        /**
         * The "mixed" subtype of "multipart" is intended for use when the body parts are independent
         * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation
         * does not recognize must be treated as being of subtype "mixed".
         */
        @JvmField
        val MIXED = "multipart/mixed".toMediaType()
    
        /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

            .addPart("Hello, World!".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
        assertThat(body.contentType().toString())
          .isEqualTo("multipart/mixed; boundary=123")
        assertThat(body.parts.size).isEqualTo(1)
        assertThat(body.contentLength()).isEqualTo(33L)
        val buffer = Buffer()
        body.writeTo(buffer)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. cmd/endpoint_test.go

    		{[]string{"d1", "http://localhost/d2", "d3", "d4"}, fmt.Errorf("mixed style endpoints are not supported")},
    		{[]string{"http://example.org/d1", "https://example.com/d1", "http://example.net/d1", "https://example.edut/d1"}, fmt.Errorf("mixed scheme is not supported")},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

       *     lower-case characters
       */
      public abstract BaseEncoding lowerCase();
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but decodes letters without
       * regard to case.
       *
       * @throws IllegalStateException if the alphabet used by this encoding contains mixed upper- and
       *     lower-case characters
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 06 14:51:47 GMT 2025
    - 41.7K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            assertNotNull(result);
            assertNotNull(result.getContent());
            assertFalse(result.getContent().isEmpty());
        }
    
        /**
         * Test that ZipExtractor handles mixed valid and invalid entries gracefully.
         * Should continue processing valid entries even when some fail.
         */
        public void test_ZipExtractor_mixedEntries_continuesProcessing() throws IOException {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/StringsTest.java

            @ParameterizedTest
            @DisplayName("getBytes should handle various string inputs")
            @NullAndEmptySource
            @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский",
                    "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })
            void testGetBytesWithVariousInputs(String input) {
                // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator b = new Kerb5Authenticator((Subject) null);
    
            // Both null subjects -> equal
            assertEquals(a, b);
            assertEquals(a.hashCode(), b.hashCode());
    
            // Mixed null/non-null -> not equal
            Kerb5Authenticator c = new Kerb5Authenticator(new Subject());
            assertNotEquals(a, c);
    
            // Same subject instance -> equal
            Subject shared = new Subject();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(1, SMBUtil.readInt2(buffer, 2));
            }
    
            @Test
            @DisplayName("Should handle mixed lock operations")
            void testMixedLockOperations() {
                // Simulate a complex scenario with mixed lock operations
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 512L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            assertNotNull(results);
            // Should use Japanese analyzer and transliterator
        }
    
        @Test
        public void testConvertWithMixedLanguageText() throws IOException {
            // Test convert with mixed language text
            String text = "test テスト";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en", "ja");
    
            assertNotNull(results);
        }
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertNotNull(str);
            assertTrue(str.contains("test"));
            assertTrue(str.contains("CLOSED"));
            assertTrue(str.contains("100.00%"));
        }
    
        @Test
        @DisplayName("Test mixed success and failure pattern")
        void testMixedPattern() throws Exception {
            // Success
            circuitBreaker.call(() -> "success");
    
            // Two failures (not enough to open)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top