- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 1,305 for know (0.07 seconds)
-
logger/sql_test.go
package logger_test import ( "database/sql/driver" "encoding/json" "fmt" "regexp" "strings" "testing" "github.com/jinzhu/now" "gorm.io/gorm/logger" ) type JSON json.RawMessage func (j JSON) Value() (driver.Value, error) { if len(j) == 0 { return nil, nil } return json.RawMessage(j).MarshalJSON() } type ExampleStruct struct { Name string Val string }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 8.4K bytes - Click Count (0) -
tests/soft_delete_test.go
package tests_test import ( "database/sql" "encoding/json" "errors" "regexp" "testing" "github.com/jinzhu/now" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestSoftDelete(t *testing.T) { user := *GetUser("SoftDelete", Config{}) DB.Save(&user) var count int64 var age uint if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java
if (crawlingInfo == null) { throw new FessSystemException("Crawling Session is null."); } final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); if (crawlingInfo.getCreatedTime() == null) { crawlingInfo.setCreatedTime(now); } } /** * Sets up the conditions for deleting a crawling information record.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* @see Source */ public interface ModelSource extends Source { /** * Returns the model identifier in the format {@code groupId:artifactId:version} * if this source represents a resolved artifact with known coordinates. * <p> * This method is primarily used by resolved sources to provide the model ID * without requiring the XML to be parsed. For build sources, this typicallyCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
* exception is thrown so this information is merely meant to assist the user. * * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() { if (result == null || result.getModelIds().isEmpty()) { return ""; } return result.getModelIds().get(0); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PurgeDocJob.java
final StringBuilder resultBuf = new StringBuilder(); // clean up final QueryBuilder queryBuilder = QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).to("now"); try { searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), queryBuilder); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
listenable.addListener(earlyListener, directExecutor()); input.allowGetToComplete.countDown(); // Now give the get() thread time to finish: assertTrue(earlyListener.wasRun.await(1, SECONDS)); // Now test an additional addListener call, which will be run in-thread: RecordingRunnable lateListener = new RecordingRunnable();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
internal/config/identity/ldap/config.go
func (l *Config) GetConfigList(s config.Config) ([]madmin.IDPListItem, error) { ldapConfigs, err := s.GetAvailableTargets(config.IdentityLDAPSubSys) if err != nil { return nil, err } // For now, ldapConfigs will only have a single entry for the default // configuration. var res []madmin.IDPListItem for _, cfg := range ldapConfigs { res = append(res, madmin.IDPListItem{ Type: "ldap",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Sep 18 11:47:48 GMT 2025 - 8.6K bytes - Click Count (0) -
docs_src/websockets_/tutorial003_py310.py
<input type="text" id="messageText" autocomplete="off"/> <button>Send</button> </form> <ul id='messages'> </ul> <script> var client_id = Date.now() document.querySelector("#ws-id").textContent = client_id; var ws = new WebSocket(`ws://localhost:8000/ws/${client_id}`); ws.onmessage = function(event) {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Iterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0)