- Sort Score
- Num 10 results
- Language All
Results 1821 - 1830 of 2,122 for operation (0.07 seconds)
-
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
assertFalse(mockService.processHeartbeat(regId, 4)); } /** * Test error conditions and edge cases */ @Test void testErrorConditions() { // Test operations on empty service assertEquals(0, mockService.getRegistrationCount()); assertFalse(mockService.hasRegistration("non-existent")); assertFalse(mockService.unregisterWitness("non-existent"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
fail("Expected CIFSException"); } catch (CIFSException e) { // Expected } assertFalse(context.isValid()); // Further operations on invalid context should fail assertThrows(CIFSException.class, () -> { preauthService.updatePreauthHash(sessionId, "test".getBytes()); }); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
cmd/erasure-utils.go
if offset >= int64(len(block)) { // Decrement offset. offset -= int64(len(block)) continue } // Skip until offset. block = block[offset:] // Reset the offset for next iteration to read everything // from subsequent blocks. offset = 0 // We have written all the blocks, write the last remaining block. if write < int64(len(block)) { n, err := dst.Write(block[:write])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
// Package-private so that it can be extended. MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) { // TODO: consider making it shuffle the contents to test iteration order. this.contents = Platform.clone(contents); this.type = type; this.allowNulls = allowNulls; if (!allowNulls) { for (Object element : contents) { if (element == null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 3.8K bytes - Click Count (0) -
cmd/namespace-lock_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
chainable_api.go
package gorm import ( "fmt" "regexp" "strings" "gorm.io/gorm/clause" "gorm.io/gorm/utils" ) // Model specify the model you would like to run db operations // // // update all users's name to `hello` // db.Model(&User{}).Update("name", "hello") // // if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello` // db.Model(&user).Update("name", "hello")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java
public void testLocalCurrentVersionArchives() { for (Platform platform : Platform.values()) { for (boolean bundledJdk : new boolean[] { true, false }) { // create a new project in each iteration, so that we know we are resolving the only additional project being created Project project = createProject(BWC_MINOR); String projectName = projectName(platform.toString(), bundledJdk);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 6.4K bytes - Click Count (0) -
utils/utils.go
"reflect" "runtime" "strconv" "strings" "unicode" ) var gormSourceDir string func init() { _, file, _, _ := runtime.Caller(0) // compatible solution to get gorm source directory with various operating systems gormSourceDir = sourceDir(file) } func sourceDir(file string) string { dir := filepath.Dir(file) dir = filepath.Dir(dir) s := filepath.Dir(dir) if filepath.Base(s) != "gorm.io" { s = dir
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClient.java
/** * Interface for LLM (Large Language Model) clients. * Implementations provide integration with different LLM providers * such as Ollama, OpenAI, and Google Gemini. * * In addition to low-level chat operations, this interface defines * high-level RAG workflow methods that allow each provider to optimize * prompt construction, parameter tuning, and response parsing. */ public interface LlmClient { /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 7.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. * * <p>For more extensive testing, add multiple equality groups. Each group should contain objects * that are equal to each other but unequal to the objects in any other group. For example: * * <pre>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0)