- Sort Score
- Num 10 results
- Language All
Results 1441 - 1450 of 2,682 for latch (0.02 seconds)
-
tests/test_regex_deprecated_params.py
assert response.json() == { "detail": [ { "type": "string_pattern_mismatch", "loc": ["query", "q"], "msg": "String should match pattern '^fixedquery$'", "input": "nonregexquery", "ctx": {"pattern": "^fixedquery$"}, } ] } @needs_py310 def test_openapi_schema():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 5.1K bytes - Click Count (0) -
tests/non_std_test.go
var animals []Animal DB.Find(&animals) if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) { t.Error("RowsAffected should be correct when do batch update") } animal = Animal{From: "somewhere"} // No name fields, should be filled with the default value (galeone) DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelper.java
* mappings from FessConfig to handle cases where content-based detection * produces incorrect results (e.g., SQL files starting with REM comments * being misdetected as batch files). */ public class FessMimeTypeHelper extends MimeTypeHelperImpl { private static final Logger logger = LogManager.getLogger(FessMimeTypeHelper.class); /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LoadControlMonitorTarget.java
consecutiveFailures = 0; if (logger.isDebugEnabled()) { logger.debug("Search Engine CPU: {}%", maxCpu); } } catch (final Exception e) { systemHelper.setSearchEngineCpuPercent((short) 0); consecutiveFailures++; if (consecutiveFailures <= 3) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Feb 10 04:24:02 GMT 2026 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java
.map(e -> new Pair<>(e.getKey(), (String) e.getValue())) .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond))); return result; } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, BouncyCastlePlatform::class.java.classLoader) true } catch (_: ClassNotFoundException) { false } fun buildIfSupported(): BouncyCastlePlatform? = if (isSupported) BouncyCastlePlatform() else null }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
try { logger .get() .log( SEVERE, String.format(Locale.ROOT, "Caught an exception in %s. Shutting down.", t), e); } catch (Throwable errorInLogging) { // sneaky checked exception // If logging fails, e.g. due to missing memory, at least try to log the // message and the cause for the failed logging.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 10 21:03:40 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
while (itr.hasNext()) { expectedSpan = expectedSpan.span(itr.next()); } } try { Range<C> span = rangeSet.span(); assertEquals(expectedSpan, span); } catch (NoSuchElementException e) { assertThat(expectedSpan).isNull(); } // test that asDescendingSetOfRanges is the reverse of asRanges
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
public static synchronized void dispose() { while (!disposables.isEmpty()) { final Disposable disposable = disposables.removeLast(); try { disposable.dispose(); } catch (final Throwable t) { System.err.println("[DisposableUtil] Failed to dispose resource: " + t.getClass().getName() + ": " + t.getMessage()); // must not use Logger. } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
@Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; byte[] descr; try { descr = DESCR.getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0)