Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 5,086 for Strings (0.03 sec)

  1. internal/stmt_store/stmt_store.go

    		ttl = defaultTTL
    	}
    
    	onEvicted := func(k string, v *Stmt) {
    		if v != nil {
    			go v.Close()
    		}
    	}
    	return &lruStore{lru: lru.NewLRU[string, *Stmt](size, onEvicted, ttl)}
    }
    
    type lruStore struct {
    	lru *lru.LRU[string, *Stmt]
    }
    
    func (s *lruStore) Keys() []string {
    	return s.lru.Keys()
    }
    
    func (s *lruStore) Get(key string) (*Stmt, bool) {
    	stmt, ok := s.lru.Get(key)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

              webSocket.send(bytes)
            }
    
            override fun onMessage(
              webSocket: WebSocket,
              text: String,
            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsAccessTokenCB.java

        public AccessTokenCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsAccessTokenCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (AccessTokenCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsFailureUrlCB.java

        public FailureUrlCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsFailureUrlCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (FailureUrlCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsRelatedContentCB.java

        public RelatedContentCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsRelatedContentCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (RelatedContentCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         */
        String findTool(String toolName);
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         *
         * @param requirements key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

                fail();
            } catch (IllegalArgumentException e) {
                assertTrue(true);
            }
        }
    
        @Test
        public void test_setAndGetAsArray() {
            String value1 = "a";
            String value2 = "b";
            String value3 = "c";
            settings.badword().add(value1);
            settings.badword().add(value2);
            settings.badword().add(value3);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

        }
    
        @Test
        public void test_setAndGetAsInt() {
            String key = "key";
            int value = 1;
            settings.set(key, value);
            assertEquals(value, settings.getAsInt(key, -1));
        }
    
        @Test
        public void test_setAndGetAsLong() {
            String key = "key";
            long value = Long.MAX_VALUE;
            settings.set(key, value);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    func (b byResourceUID) Less(i, j int) bool {
    	toUniqLock := func(entry madmin.LockEntry) string {
    		return fmt.Sprintf("%s/%s", entry.Resource, entry.ID)
    	}
    	return toUniqLock(b.LockEntries[i]) < toUniqLock(b.LockEntries[j])
    }
    
    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := range 4 {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         */
        public interface ArrayType {
    
            /**
             * @return Class
             */
            Class<String>[] arrayOfStringClass();
        }
    
        /**
         *
         */
        public interface ListType {
    
            /**
             * @return List
             */
            List<String> listOfString();
    
            /**
             * @return List
             */
            List<Class<?>> listOfClass();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top