- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 3,740 for _shouldn (0.06 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = nullPathCmd.writeBytesWireFormat(buffer, 0); // Should write command byte + null terminator only assertEquals(2, used, "Null path should result in command byte + NUL"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04"); assertEquals(0, buffer[1], "Second byte must be null terminator");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
val tagClass: Int, /** The tag this adapter expects, or -1 to match any tag. */ val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>, /** True if the default value should be used if this value is absent during decoding. */ val isOptional: Boolean = false, /** The value to return if this value is absent. Undefined unless this is optional. */ val defaultValue: T? = null,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java
// Test that フュ correctly maps to "fyu" only (not "hyu") List<String> results = converter.convert("フュ", null); assertTrue(results.contains("fyu")); assertFalse("Should not contain 'hyu' (that's for ヒュ)", results.contains("hyu")); } public void test_convertEmptyString() { List<String> results = converter.convert("", null); assertNotNull(results);
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 17 14:28:21 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
URL url1 = new URL(null, "smb://host1/share1", handler); URL url2 = new URL(null, "smb://host2/share2", handler); // Both should use the same handler instance assertNotNull(url1); assertNotNull(url2); // Protocol should be consistent assertEquals(url1.getProtocol(), url2.getProtocol()); assertEquals("smb", url1.getProtocol()); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Map; import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
internal/s3select/progress.go
// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package s3select import ( "context" "errors" "fmt" "io"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 22 00:33:43 GMT 2024 - 4.3K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs.go
// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package sql import ( "errors" "strings" ) var (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.2K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
// This file contains members that we should consider to pull upstream // and make available to all Kotlin DSL users package gradlebuild.basics.kotlindsl import org.gradle.process.ExecOperations import java.io.ByteArrayOutputStream import java.io.File /** * `dir / "sub"` is the same as `dir.resolve("sub")`. * * @see [File.resolve] */ operator fun File.div(child: String): File = resolve(child)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon May 19 11:33:57 GMT 2025 - 965 bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// Test file name extraction assertEquals("file.txt", new SmbFile("smb1://server/share/file.txt").getName()); // Test directory name extraction (should include trailing slash) assertEquals("dir/", new SmbFile("smb1://server/share/dir/").getName()); // Test share name extraction assertEquals("share/", new SmbFile("smb1://server/share/").getName());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
assertTrue(cacheEntry.expiration >= expectedExpiration - 100 && cacheEntry.expiration <= expectedExpiration + 100); assertNotNull(cacheEntry.map); // Test with TTL = 0, should use default TTL Dfs.CacheEntry cacheEntryDefault = new Dfs.CacheEntry(0); long expectedExpirationDefault = System.currentTimeMillis() + 300L * 1000L; // Default TTL is 300
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0)