- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 526 for putA (0.07 sec)
-
internal/grid/types.go
return make([]T, 0, sz) } t2 := *t return t2[:0] } func (p *ArrayOf[T]) putA(v []T) { var zero T // nil for i, t := range v { //nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! p.ePool.Put(t) v[i] = zero } if v != nil { v = v[:0] p.aPool.Put(&v) } } func (p *ArrayOf[T]) newE() T { return p.ePool.Get().(T) }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
internal/store/queuestore.go
} if err != nil { return err } // Increment the item count. store.entries[key.String()] = time.Now().UnixNano() return nil } // Put - puts an item to the store. func (store *QueueStore[I]) Put(item I) (Key, error) { store.Lock() defer store.Unlock() if uint64(len(store.entries)) >= store.entryLimit { return Key{}, errLimitExceeded } // Generate a new UUID for the key.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
internal/store/queuestore_test.go
if err != nil { t.Fatal("Failed to create a queue store ", err) } for i := 0; i < 5; i++ { if _, err := store.Put(testItem); err != nil { t.Fatal("Failed to put to queue store ", err) } } // Should not allow 6th Put. if _, err := store.Put(testItem); err == nil { t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded) } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
this symbol. In the <remote>, # or @ can be used to introduce a symbol version. Examples: //go:cgo_import_dynamic puts //go:cgo_import_dynamic puts puts#GLIBC_2.2.5 //go:cgo_import_dynamic puts puts#GLIBC_2.2.5 "libc.so.6" A side effect of the cgo_import_dynamic directive with a library is to make the final binary depend on that dynamic
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
docs/en/docs/python-types.md
#### List For example, let's define a variable to be a `list` of `str`. //// tab | Python 3.9+ Declare the variable, with the same colon (`:`) syntax. As the type, put `list`. As the list is a type that contains some internal types, you put them in square brackets: ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial006_py39.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
requestBody.put("name", NAME_PREFIX + "FileConfig"); requestBody.put("paths", paths); requestBody.put("excluded_paths", ".*\\.git.*"); requestBody.put("max_access_count", 100); requestBody.put("num_of_thread", 1); requestBody.put("interval_time", 100); requestBody.put("boost", 100); requestBody.put("permissions", "{role}guest");
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
params.put("ID", e.getId()); params.put("Query ID", e.getQueryId()); params.put("Doc ID", e.getDocId()); params.put("User Session ID", e.getUserSessionId()); params.put("URL", e.getUrl()); params.put("URL ID", e.getUrlId()); params.put("Order", toNumberString(e.getOrder()));
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 28.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
map.put("boost1", 0); map.put("boost2", 0); assertTrue(0.0f == docBoostMatcher.getValue(map)); map.put("boost1", 1); map.put("boost2", 0); assertTrue(10.0f == docBoostMatcher.getValue(map)); map.put("boost1", 1); map.put("boost2", 2); assertTrue(12.0f == docBoostMatcher.getValue(map)); }
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java
requestBody.put("name", "test_webconfig"); requestBody.put("urls", "http://www.example.com"); requestBody.put("user_agent", "Mozilla/5.0"); requestBody.put("num_of_thread", 5); requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0); requestBody.put("available", true); requestBody.put("sort_order", 1);
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
defaultSettings.put("onelogin.saml2.security.logoutrequest_signed", "false"); defaultSettings.put("onelogin.saml2.security.logoutresponse_signed", "false"); defaultSettings.put("onelogin.saml2.security.want_messages_signed", "false"); defaultSettings.put("onelogin.saml2.security.want_assertions_signed", "false");
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.2K bytes - Viewed (0)