- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 1,664 for wirst (0.05 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access); handle.close(); // First close handle.close(); // Second close // Verify sendrecv for close was called only once verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
# 子依赖项 { #sub-dependencies } FastAPI 支持创建含**子依赖项**的依赖项。 并且,可以按需声明任意**深度**的子依赖项嵌套层级。 **FastAPI** 负责处理解析不同深度的子依赖项。 ## 第一层依赖项 “dependable” { #first-dependency-dependable } 你可以创建一个第一层依赖项(“dependable”),如下: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} 这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。 这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 3.8K bytes - Click Count (0) -
tensorflow/c/c_test_util.h
TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype, TF_Graph* graph, TF_Status* s); // Split `input` along the first dimension into 3 tensors TF_Operation* Split3(TF_Operation* input, TF_Graph* graph, TF_Status* s, const char* name = "split3"); bool IsPlaceholder(const tensorflow::NodeDef& node_def);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
* specified through this <code>jcifs.properties</code> system property. * * @return a global context, initialized on first call */ public static synchronized final SingletonContext getInstance() { if (INSTANCE == null) { try { log.debug("Initializing singleton context"); init(null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
int written = pipe.writeSetupWireFormat(dst, 0); assertEquals(4, written, "Setup should write 4 bytes"); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand"); assertEquals(0, dst[1], "Second byte should be 0"); assertEquals(0, dst[2], "Third byte should be 0 (no FID)"); assertEquals(0, dst[3], "Fourth byte should be 0 (no FID)");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
*/ @Test public void test_serializeDeserialize_linkedHashMap() { LinkedHashMap<String, Object> original = new LinkedHashMap<>(); original.put("first", 1); original.put("second", 2); original.put("third", 3); byte[] serialized = serializer.fromObjectToBinary(original); assertNotNull(serialized, "Serialized data should not be null");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
// lhs (null) comes just before justAfterNull. // If rhs is b, lhs comes first. if (rhs.equals(justAfterNull)) { return -1; } return justAfterNull.compareTo(rhs); } if (rhs == null) { // rhs (null) comes just before justAfterNull. // If lhs is b, rhs comes first. if (lhs.equals(justAfterNull)) { return 1; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
cmd/erasure.go
// Get an aggregated storage info across all disks. func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo { disksInfo := getDisksInfo(disks, endpoints, metrics) // Sort so that the first element is the smallest. sort.Slice(disksInfo, func(i, j int) bool { return disksInfo[i].TotalSpace < disksInfo[j].TotalSpace }) storageInfo := StorageInfo{ Disks: disksInfo, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
cmd/iam-object-store.go
policyDBGroupsListKey = "policydb/groups/" ) func findSecondIndex(s string, substr string) int { first := strings.Index(s, substr) if first == -1 { return -1 } second := strings.Index(s[first+1:], substr) if second == -1 { return -1 } return first + second + 1 } // splitPath splits a path into a top-level directory and a child item. The
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
byte[] buffer = new byte[totalSize + 100]; // Extra space for safety int bufferIndex = 0; int start = 0; // Set converter value first setConverter(response, 0); // Set number of entries setNumEntries(response, 1); // Write share name (13 bytes, null padded)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0)