- Sort Score
- Num 10 results
- Language All
Results 5901 - 5910 of 7,132 for String (0.05 seconds)
-
src/test/java/jcifs/config/BaseConfigurationTest.java
@DisplayName("Test initProtocolVersions with strings") void testInitProtocolVersionsWithStrings() { config.initProtocolVersions("SMB202", "SMB311"); assertEquals(DialectVersion.SMB202, config.getMinimumVersion()); assertEquals(DialectVersion.SMB311, config.getMaximumVersion()); } @Test @DisplayName("Test initProtocolVersions with null/empty strings")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* * @since 15.0 (since 11.0 as putString(CharSequence)) */ @CanIgnoreReturnValue PrimitiveSink putUnencodedChars(CharSequence charSequence); /** * Puts a string into this sink using the given charset. * * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0) -
tests/named_polymorphic_test.go
package tests_test import ( "testing" . "gorm.io/gorm/utils/tests" ) type Hamster struct { Id int Name string PreferredToy Toy `gorm:"polymorphic:Owner;polymorphicValue:hamster_preferred"` OtherToy Toy `gorm:"polymorphic:Owner;polymorphicValue:hamster_other"` } func TestNamedPolymorphic(t *testing.T) { DB.Migrator().DropTable(&Hamster{}) DB.AutoMigrate(&Hamster{})
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jul 08 09:59:40 GMT 2020 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertTrue(future.isCancelled()); assertThrows(CancellationException.class, future::get); } public void testFailedFuture(@Nullable String message) throws InterruptedException { assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link ScopeArtifactFilter}. * */ class ScopeArtifactFilterTest { private Artifact newArtifact(String scope) { return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null); } @Test void testIncludeCompile() { ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active String fileString = actFile.getExists(); RegexBasedInterpolator interpolator = new RegexBasedInterpolator(); try { interpolator.addValueSource(new EnvarBasedValueSource());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* </ul> * * <h4>Example usage</h4> * * {@snippet : * class Foo { * private static final ImmutableSet<String> RESERVED_CODES = * ImmutableSet.of("AZ", "CQ", "ZX"); * * private final ImmutableSet<String> codes; * * public Foo(Iterable<String> codes) { * this.codes = ImmutableSet.copyOf(codes); * checkArgument(Collections.disjoint(this.codes, RESERVED_CODES)); * }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
public void setScope(ArtifactScopeEnum scope) { this.scope = scope; } // ------------------------------------------------------------------------------------------- @Override public String toString() { StringBuilder sb = new StringBuilder(256); sb.append("[scope=").append(scope.getScope()); if (classpath != null) { for (ArtifactMetadata md : classpath) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/monitor/logging/DefaultLog.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
assertEquals(info1.hashCode(), info2.hashCode()); } @Test void testToString() { NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000); String str = info.toString(); assertNotNull(str); assertTrue(str.contains(testAddress.toString())); assertTrue(str.contains("1000")); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 4.9K bytes - Click Count (0)