- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 455 for position (0.93 sec)
-
logger/sql.go
} else { sql = numericPlaceholder.ReplaceAllString(sql, "$$$1$$") sql = numericPlaceholderRe.ReplaceAllStringFunc(sql, func(v string) string { num := v[1 : len(v)-1] n, _ := strconv.Atoi(num) // position var start from 1 ($1, $2) n -= 1 if n >= 0 && n <= len(vars)-1 { return vars[n] } return v }) } return sqlRegistered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/csv/record.go
if !found { // Check if index. if after, ok := strings.CutPrefix(name, "_"); ok { idx, err := strconv.Atoi(after) if err != nil { return nil, fmt.Errorf("column %v not found", name) } // The position count starts at 1. idx-- if idx >= len(r.csvRecord) || idx < 0 { // If field index > number of columns, return null return sql.FromNull(), nil } return sql.FromBytes([]byte(r.csvRecord[idx])), nilRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(0, dst[i]); } // Verify encoded data at offset ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN); bb.position(offset); assertEquals(maxReferralLevel, bb.getShort()); } @Test @DisplayName("Should encode empty path correctly") void testEncodeEmptyPath() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// This means bytes 20-27 will be zero (8 bytes written by writeInt8) for (int i = 20; i < 28; i++) { assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0"); } // The byte at position 28 should be unchanged assertEquals((byte) 0xFF, buffer[28], "Byte after padding should be unchanged"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
// Then assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position"); } @Test @DisplayName("findUNITermination should throw exception when termination not found") void testFindUNITerminationNotFound() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
void testReadSingleNotification() throws Exception { // Given byte[] buffer = new byte[512]; int offset = 0; // Set header start position for the response setHeaderStart(response, 64); // Write structure header (9 bytes) SMBUtil.writeInt2(9, buffer, offset); // Structure size
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
* * <p><b>Warning:</b> As in all {@link SetMultimap}s, do not modify either a key <i>or a value</i> * of a {@code SortedSetMultimap} in a way that affects its {@link Object#equals} behavior (or its * position in the order of the values). Undefined behavior and bugs will result. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
* * @return the allocationSize */ public final long getAllocationSize() { return this.allocationSize; } /** * Get the end of file position * * @return the endOfFile */ public final long getEndOfFile() { return this.endOfFile; } /** * Get the file ID * * @return the fileIdRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
testConstructorParameter(ctor, nullIndex); } } /** * Verifies that {@code method} produces a {@link NullPointerException} or {@link * UnsupportedOperationException} when the parameter in position {@code paramIndex} is null. If * this parameter is marked nullable, this method does nothing. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
*/ private fun assertWildcardRule(rule: String) { check(rule.startsWith(WILDCARD_CHAR)) { """Wildcard Assertion Failure: '$rule' A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this.""" } check(rule.indexOf(WILDCARD_CHAR, 1) == -1) { """Wildcard Assertion Failure: '$rule'
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0)