- Sort Score
- Result 10 results
- Languages All
Results 1401 - 1410 of 2,137 for breathe (0.04 sec)
-
tests/named_argument_test.go
Name1 string Name2 string Name3 string } DB.Migrator().DropTable(&NamedUser{}) DB.AutoMigrate(&NamedUser{}) namedUser := NamedUser{Name1: "jinzhu1", Name2: "jinzhu2", Name3: "jinzhu3"} DB.Create(&namedUser) var result NamedUser DB.First(&result, "name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2")) AssertEqual(t, result, namedUser) var result2 NamedUser
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} @Test public void testCleanupArchivedKeys() throws GeneralSecurityException { String sessionId = "cleanup-test"; keyManager.storeSessionKey(sessionId, testKey, "AES"); // Create multiple versions for (int i = 0; i < 5; i++) { keyManager.rotateSessionKey(sessionId); } // Clean up, keeping only 2 versions keyManager.cleanupArchivedKeys(2);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* approximately equivalent in behavior to the same code written with try-with-resources. * * <p>This class is intended to be used in the following pattern: * * {@snippet : * Closer closer = Closer.create(); * try { * InputStream in = closer.register(openInputStream()); * OutputStream out = closer.register(openOutputStream()); * // do stuff * } catch (Throwable e) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * public void testFooLeak() { * GcFinalization.awaitClear(fooWeakRef()); * } * } * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
class ConstructorTests { @Test @DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // When DcerpcBind defaultBind = new DcerpcBind(); // Then assertNotNull(defaultBind, "Default constructor should create instance"); assertEquals(0, defaultBind.getOpnum(), "Default opnum should be 0"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java
mode = JapaneseTokenizer.Mode.EXTENDED; } } return mode; } @Override public Tokenizer create() { JapaneseTokenizer t = new JapaneseTokenizer(userDictionary, discartPunctuation, mode); int nBestCost = this.nBestCost; if (nBestExamples != null) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
} }); } return result; } catch (final Exception e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
/** Virtual address of the memory region */ protected final long address; /** Flag indicating if the memory region is still valid */ protected volatile boolean valid; /** * Create new RDMA memory region * * @param buffer memory buffer to register * @param access access permissions */ public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
class ImplementationTests { @Test @DisplayName("Test concrete implementation of FileNotifyInformation") void testConcreteImplementation() { // Create a simple implementation for testing FileNotifyInformation impl = new FileNotifyInformation() { private final int action = FileNotifyInformation.FILE_ACTION_MODIFIED;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
private final Smb2LeaseKey leaseKey; private final SmbFile directoryFile; private volatile boolean active; private CompletableFuture<Void> notificationFuture; /** * Create a new change notification handle * * @param path directory path * @param key lease key * @param dir directory file */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)