Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 862 for resultCh (0.18 sec)

  1. tests/joins_test.go

    		return results[i].PetID > results[j].PetID
    	})
    
    	sort.Slice(results, func(i, j int) bool {
    		return user.Pets[i].ID > user.Pets[j].ID
    	})
    
    	if len(results) != 2 || results[0].Name != user.Pets[0].Name || results[1].Name != user.Pets[1].Name {
    		t.Errorf("Should find all two pets with Join select, got %+v", results)
    	}
    }
    
    func TestJoinWithOmit(t *testing.T) {
    	user := *GetUser("joins_with_omit", Config{Pets: 2})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            // First call should read the file
            NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result1);
    
            // Second call should use cached data (file not modified)
            NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result2);
            assertEquals(result1, result2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertTrue(result.contains("TransWaitNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("toString should include parent class information")
        void testToStringIncludesParentInfo() {
            // Act
            String result = response.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipeResponse"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. tests/upsert_test.go

    	}
    
    	for _, lang := range langs {
    		var results []Language
    		if err := DB.Find(&results, "code = ?", lang.Code).Error; err != nil {
    			t.Errorf("no error should happen when find languages with code, but got %v", err)
    		} else if len(results) != 1 {
    			t.Errorf("should only find only 1 languages, but got %+v", langs)
    		} else if results[0].Name != lang.Name {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Execute the job multiple times
            String result1 = purgeDocJob.execute();
    
            // Reset the flag
            deleteByQueryCalled = false;
    
            String result2 = purgeDocJob.execute();
    
            // Assert both executions were successful
            assertEquals("", result1);
            assertEquals("", result2);
            assertTrue(deleteByQueryCalled);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    			}
    		}
    
    		send := func(result healEntryResult) bool {
    			select {
    			case <-ctx.Done():
    				if !contextCanceled(ctx) {
    					healingLogIf(ctx, ctx.Err())
    				}
    				return false
    			case results <- result:
    				bgSeq.countScanned(madmin.HealItemObject)
    				return true
    			}
    		}
    
    		// Note: updates from healEntry to tracker must be sent on results channel.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTransportPoolTest.java

                // Given
                when(transportPool.close()).thenReturn(false);
    
                // When
                boolean result1 = transportPool.close();
                boolean result2 = transportPool.close();
    
                // Then
                assertFalse(result1);
                assertFalse(result2);
                verify(transportPool, times(2)).close();
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. tests/sql_builder_test.go

    	user3 := User{Name: "ExecRawSqlUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	type result struct {
    		Name  string
    		Email string
    	}
    
    	var results []result
    	DB.Raw("SELECT name, age FROM users WHERE name = ? or name = ?", user2.Name, user3.Name).Scan(&results)
    	if len(results) != 2 || results[0].Name != user2.Name || results[1].Name != user3.Name {
    		t.Errorf("Raw with scan")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /** Returns a plan to attempt. */
      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top