- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for bonus (7.57 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertFalse(nic.isRdmaCapable()); assertEquals(address, nic.getAddress()); // Test scoring int score = nic.getScore(); assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus) // Test encoding/decoding byte[] encoded = nic.encode(); assertNotNull(encoded); assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
if (rssCapable) score += 1000; // Prefer RSS-capable if (rdmaCapable) score += 2000; // Prefer RDMA-capable // Note: No IPv4 preference bonus to keep base score equal to link speed return score; } /** * Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response * * @return encoded bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
tests/migrate_test.go
func TestAutoMigrateNullable(t *testing.T) { type MigrateNullableColumn struct { ID uint Bonus float64 `gorm:"not null"` Stock float64 } DB.Migrator().DropTable(&MigrateNullableColumn{}) DB.AutoMigrate(&MigrateNullableColumn{}) type MigrateNullableColumn2 struct { ID uint Bonus float64 Stock float64 `gorm:"not null"` }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare(Boolean.TRUE, true) .compare(Boolean.TRUE, Boolean.TRUE) .result()) .isEqualTo(0); } public void testDegenerate() { // kinda bogus, but who cares? assertThat(ComparisonChain.start().result()).isEqualTo(0); } public void testOneEqual() { assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
result = repositorySystem.resolve(request); resolutionErrorHandler.throwErrors(request, result); assertEquals(1, result.getArtifacts().size()); // // Put in a bogus file to make sure missing files cause the resolution to fail. // file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar"); assertFalse(file.exists());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 10.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare(Boolean.TRUE, true) .compare(Boolean.TRUE, Boolean.TRUE) .result()) .isEqualTo(0); } public void testDegenerate() { // kinda bogus, but who cares? assertThat(ComparisonChain.start().result()).isEqualTo(0); } public void testOneEqual() { assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
protected static String formatFeatureSet(Set<? extends Feature<?>> features) { List<String> temp = new ArrayList<>(); for (Feature<?> feature : features) { Object featureAsObject = feature; // to work around bogus JDK warning if (featureAsObject instanceof Enum) { Enum<?> f = (Enum<?>) featureAsObject; temp.add(f.getDeclaringClass().getSimpleName() + "." + feature); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/preload_suits_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 05 11:34:13 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
.withFeatures(features) .suppressing(parentBuilder.getSuppressedTests()) .createTestSuite(); } /** * Returns an array of four bogus elements that will always be too high or too low for the * display. This includes two values for each extreme. * * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
private static final class BelowAll extends Cut<Comparable<?>> { private static final BelowAll INSTANCE = new BelowAll(); private BelowAll() { /* * No code ever sees this bogus value for `endpoint`: This class overrides both methods that * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0)