Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 3,915 for get3 (0.27 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            for (final String field : fields) {
                final Object textObj = document.get(field);
                if (textObj == null) {
                    continue;
                }
                final String text = textObj.toString();
                final String lang = document.get(langFieldName) == null ? null : document.get(langFieldName).toString();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py

    from docs_src.custom_request_and_route.tutorial003 import app
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/")
        assert response.json() == {"message": "Not timed"}
        assert "X-Response-Time" not in response.headers
    
    
    def test_get_timed():
        response = client.get("/timed")
        assert response.json() == {"message": "It's the time of my life"}
        assert "X-Response-Time" in response.headers
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 526 bytes
    - Viewed (0)
  3. tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py

    @needs_pydanticv2
    def test_recursive():
        from .app_pv2 import app
    
        client = TestClient(app)
        response = client.get("/items/recursive")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "sub_items": [{"name": "subitem", "sub_items": []}],
            "name": "item",
        }
    
        response = client.get("/items/recursive-submodel")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 900 bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

      @CollectionSize.Require(SEVERAL)
      public void testMultimapRemoveDeletesFirstOccurrence() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
    
        List<V> list = multimap().get(k0());
        multimap().remove(k0(), v0());
        assertContentsInOrder(list, v1(), v0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testRemoveAtIndexFromGetPropagates() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(2, urlList.size());
            assertEquals("http://www.example.com", urlList.get(0).getUrl());
            assertEquals("http://www.test.com", urlList.get(1).getUrl());
    
            urlList.clear();
            urlList.add(RequestDataBuilder.newRequestData().get().url("feed://www.example.com").build());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertNull(map.get(TypeToken.of(Integer.class)));
        assertNull(map.getInstance(Integer.class));
    
        map.putInstance(Long.class, null);
        assertTrue(map.containsKey(TypeToken.of(Long.class)));
        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null)));
        assertNull(map.get(TypeToken.of(Long.class)));
        assertNull(map.getInstance(Long.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. internal/grid/types.go

    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    func (m *MSS) Set(key, value string) {
    	if m == nil {
    		*m = mssPool.Get().(map[string]string)
    	}
    	(*m)[key] = value
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        @Nonnull
        default Optional<Version> getHigherVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(getVersions().size() - 1));
        }
    
        @Nonnull
        Optional<Repository> getRepository(Version version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
    
            final String pattern1Str = settings.get("pattern1");
            final String pattern2Str = settings.get("pattern2", ".*");
    
            if (logger.isDebugEnabled()) {
                logger.debug("pattern1: {}, pattern2: {}", pattern1Str, pattern2Str);
            }
            if (pattern1Str != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. internal/jwt/parser.go

    		// keyFunc was not provided, return error.
    		return jwtgo.NewValidationError("no key was provided.", jwtgo.ValidationErrorUnverifiable)
    	}
    
    	bufp := base64BufPool.Get().(*[]byte)
    	defer base64BufPool.Put(bufp)
    
    	tokenBuf := base64BufPool.Get().(*[]byte)
    	defer base64BufPool.Put(tokenBuf)
    
    	token := *tokenBuf
    	// Copy token to buffer, truncate to length.
    	token = token[:copy(token[:base64BufferSize], tokenStr)]
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top