Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 7,169 for strings (0.06 seconds)

  1. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        @DisplayName("Fields are public static final Strings with expected values")
        void fieldModifiersAndTypes() throws Exception {
            Map<String, String> expected = Map.of("SPNEGO_MECHANISM", "1.3.6.1.5.5.2", "KERBEROS_MECHANISM", "1.2.840.113554.1.2.2",
                    "LEGACY_KERBEROS_MECHANISM", "1.2.840.48018.1.2.2", "NTLMSSP_MECHANISM", "1.3.6.1.4.1.311.2.2.10");
    
            for (Map.Entry<String, String> e : expected.entrySet()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. cmd/update-notifier_test.go

    package cmd
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java

        }
    
        @Test
        public void testPopularWords_responseStructure() {
            String response = given().contentType("application/json").when().get("/api/v1/popular-words").asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
            // data is an array of strings
            assertTrue(jsonPath.getList("data") != null);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/EncdecTest.java

        }
    
        @Test
        @DisplayName("Should encode and decode strings using byte operations")
        void testStringOperations() {
            // Given
            String testString = "Hello";
            byte[] buffer = new byte[testString.length()];
    
            // When - Manual string encoding using individual bytes
            byte[] strBytes = testString.getBytes();
    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)
  5. docs/en/docs/how-to/configure-swagger-ui.md

    ## JavaScript-only settings { #javascript-only-settings }
    
    Swagger UI also allows other configurations to be **JavaScript-only** objects (for example, JavaScript functions).
    
    FastAPI also includes these JavaScript-only `presets` settings:
    
    ```JavaScript
    presets: [
        SwaggerUIBundle.presets.apis,
        SwaggerUIBundle.SwaggerUIStandalonePreset
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

        @DisplayName("Test initProtocolVersions with strings")
        void testInitProtocolVersionsWithStrings() {
            config.initProtocolVersions("SMB202", "SMB311");
    
            assertEquals(DialectVersion.SMB202, config.getMinimumVersion());
            assertEquals(DialectVersion.SMB311, config.getMaximumVersion());
        }
    
        @Test
        @DisplayName("Test initProtocolVersions with null/empty strings")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

        }
    
        private class TestBuilder {
            private static final String SYNTAX = {
                String method = /(?<method>GET|PUT|POST|HEAD|OPTIONS|DELETE)/
                String pathAndQuery = /(?<pathAndQuery>[^\n]+)/
                String badBody = /GET|PUT|POST|HEAD|OPTIONS|DELETE|startyaml|#/
                String body = /(?<body>(?:\n(?!$badBody)[^\n]+)+)/
                String rawRequest = /(?:$method\s+$pathAndQuery$body?)/
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Enums.java

          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 13:41:58 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          }
        }
    
        String stringA = new String(charsA);
        String stringB = new String(charsB);
        assertThat(stringA).isNotEqualTo(stringB);
        assertThat(HASH_FN.hashUnencodedChars(stringA))
            .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB));
        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. fastapi/.agents/skills/fastapi/references/streaming.md

        yield ServerSentEvent(data={"status": "started"}, event="status", id="1")
        yield ServerSentEvent(data={"progress": 50}, event="progress", id="2")
    ```
    
    Use `raw_data` instead of `data` to send pre-formatted strings without JSON encoding:
    
    ```python
    yield ServerSentEvent(raw_data="plain text line", event="log")
    ```
    
    ## Stream bytes
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top