Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 366 for 15 (0.59 sec)

  1. internal/ringbuffer/ring_buffer_test.go

    	rb.Read(buf)
    	if rb.Length() != 3 {
    		t.Fatalf("expect len 3 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r)
    	}
    	rb.Write([]byte(strings.Repeat("abcd", 15)))
    
    	if !bytes.Equal(rb.Bytes(nil), []byte("bcd"+strings.Repeat("abcd", 15))) {
    		t.Fatalf("expect 63 ... but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    
    	rb.Reset()
    	n, err = rb.Write([]byte(strings.Repeat("abcd", 16)))
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         * <li><code>[1.0,2.0)</code> Versions 1.0 (included) to 2.0 (not included)</li>
         * <li><code>[1.0,2.0]</code> Versions 1.0 to 2.0 (both included)</li>
         * <li><code>[1.5,)</code> Versions 1.5 and higher</li>
         * <li><code>(,1.0],[1.2,)</code> Versions up to 1.0 (included) and 1.2 or higher</li>
         * </ul>
         *
         * @param spec string representation of a version or version range
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            void testSize8NoAlignment() {
                assertEquals(8, ServerMessageBlock2.size8(8));
                assertEquals(16, ServerMessageBlock2.size8(9));
                assertEquals(16, ServerMessageBlock2.size8(15));
                assertEquals(16, ServerMessageBlock2.size8(16));
                assertEquals(24, ServerMessageBlock2.size8(17));
            }
    
            @Test
            @DisplayName("Should calculate size8 with alignment")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x44) // == Literal indexed ==
        // Indexed name (idx = 4) -> :path
        bytesIn.writeByte(0x8c) // Literal value Huffman encoded 12 bytes
        // decodes to www.example.com which is length 15
        bytesIn.write("f1e3c2e5f23a6ba0ab90f4ff".decodeHex())
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.headerCount).isEqualTo(1)
        assertThat(hpackReader!!.dynamicTableByteCount).isEqualTo(52)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            System.arraycopy(nameWithSpaces.getBytes("US-ASCII"), 0, nameBytes, 0, nameWithSpaces.length());
            // Fill rest with spaces (0x20)
            for (int i = nameWithSpaces.length(); i < 15; i++) {
                nameBytes[i] = 0x20;
            }
            nameBytes[15] = 0x00; // Last byte for hex code position
    
            System.arraycopy(nameBytes, 0, src, srcIndex + 1, 16);
            src[srcIndex + 16] = 0x00; // hex code
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. schema/utils.go

    func removeSettingFromTag(tag reflect.StructTag, names ...string) reflect.StructTag {
    	for _, name := range names {
    		tag = reflect.StructTag(regexp.MustCompile(`(?i)(gorm:.*?)(`+name+`(:.*?)?)(;|("))`).ReplaceAllString(string(tag), "${1}${5}"))
    	}
    	return tag
    }
    
    func appendSettingFromTag(tag reflect.StructTag, value string) reflect.StructTag {
    	t := tag.Get("gorm")
    	if strings.Contains(t, value) {
    		return tag
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/failureurl/admin_failureurl.jsp

                                                                key="labels.failure_url_search_error_name"/></th>
                                                        <th style="width: 15%"><la:message
                                                                key="labels.failure_url_last_access_time"/></th>
                                                    </tr>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/bufio/example_test.go

    	// Count the words.
    	count := 0
    	for scanner.Scan() {
    		count++
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading input:", err)
    	}
    	fmt.Printf("%d\n", count)
    	// Output: 15
    }
    
    // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
    // 32-bit decimal input.
    func ExampleScanner_custom() {
    	// An artificial input source.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            // Setup test data
            byte[] buffer = new byte[22];
            long expectedAllocationSize = 65536L;
            long expectedEndOfFile = 49152L;
            int expectedNumberOfLinks = 15;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = true;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt8(expectedAllocationSize, buffer, offset);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. cmd/metacache.go

    		// Not finished and update for metacacheMaxRunningAge, discard it.
    		return false
    	case cache.finished() && time.Since(cache.lastHandout) > 5*metacacheMaxClientWait:
    		// Keep for 15 minutes after we last saw the client.
    		// Since the cache is finished keeping it a bit longer doesn't hurt us.
    		return false
    	case cache.status == scanStateError || cache.status == scanStateNone:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top