- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 867 for len (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/util/HMACT64Test.java
verify(mockMd5, times(1)).update((byte) 0x01); } } @Test void testEngineUpdateByteArray() throws NoSuchAlgorithmException { // Test engineUpdate(byte[] input, int offset, int len) try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 hmac = new HMACT64(TEST_KEY);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
internal/logger/target/kafka/kafka.go
initQueueStoreOnce once.Init client sarama.Client producer sarama.SyncProducer kconfig Config config *sarama.Config } func (h *Target) validate() error { if len(h.kconfig.Brokers) == 0 { return errors.New("no broker address found") } for _, b := range h.kconfig.Brokers { if _, err := xnet.ParseHost(b.String()); err != nil { return err } } return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/metacache_test.go
wantResults := []bool{0: true, 1: true, 2: true, 3: true, 4: false, 5: true, 6: true, 7: false, 8: true} for i, tt := range metaCacheTestset { t.Run(tt.id, func(t *testing.T) { var want bool if i >= len(wantResults) { t.Logf("no expected result for test #%d", i) } else { want = wantResults[i] } got := tt.finished() if got != want { t.Errorf("#%d: want %v, got %v", i, want, got)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 08 18:06:45 GMT 2021 - 6.8K bytes - Click Count (0) -
cmd/rebalancemetric_string.go
var _rebalanceMetric_index = [...]uint8{0, 16, 31, 46, 67, 79} func (i rebalanceMetric) String() string { if i >= rebalanceMetric(len(_rebalanceMetric_index)-1) { return "rebalanceMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _rebalanceMetric_name[_rebalanceMetric_index[i]:_rebalanceMetric_index[i+1]]Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 988 bytes - Click Count (0) -
src/main/java/jcifs/Config.java
final String p = props.getProperty(key); if (p != null) { final StringTokenizer tok = new StringTokenizer(p, delim); final int len = tok.countTokens(); final InetAddress[] arr = new InetAddress[len]; for (int i = 0; i < len; i++) { final String addr = tok.nextToken(); try { arr[i] = InetAddress.getByName(addr);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashFunction.java
/** * Shortcut for {@code newHasher().putBytes(input, off, len).hash()}. The implementation * <i>might</i> perform better than its longhand equivalent, but should not perform worse. * * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or * {@code len < 0} */ HashCode hashBytes(byte[] input, int off, int len); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
docs_src/request_files/tutorial002_an_py310.py
from fastapi import FastAPI, File, UploadFile from fastapi.responses import HTMLResponse app = FastAPI() @app.post("/files/") async def create_files(files: Annotated[list[bytes], File()]): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files(files: list[UploadFile]): return {"filenames": [file.filename for file in files]} @app.get("/") async def main():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 826 bytes - Click Count (0) -
cmd/format_string.go
_ = x[formatS2-4] _ = x[formatBZ2-5] } const _format_name = "UnknownGzipZstdLZ4S2BZ2" var _format_index = [...]uint8{0, 7, 11, 15, 18, 20, 23} func (i format) String() string { if i < 0 || i >= format(len(_format_index)-1) { return "format(" + strconv.FormatInt(int64(i), 10) + ")" } return _format_name[_format_index[i]:_format_index[i+1]]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 737 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "unlocks", new LockingAndXRange[] { unlock }); setField(cmd, "largeFile", false); byte[] buffer = new byte[20]; int len = cmd.writeParameterWordsWireFormat(buffer, 0); assertEquals(-12, len, "writeParameterWordsWireFormat should write 12 Bytes"); // Validate parameter bytes using reflection since fields are private
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/bufio/example_test.go
} } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() { scanner := bufio.NewScanner(strings.NewReader("gopher")) for scanner.Scan() { fmt.Println(len(scanner.Bytes()) == 6) } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string") } // Output: // true }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0)