- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for bookinfo (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Create a mock of the Info interface Info mockInfo = mock(Info.class); // Set up mock behavior when(mockInfo.getAttributes()).thenReturn(0x20); when(mockInfo.getSize()).thenReturn(1024L); when(mockInfo.getCreateTime()).thenReturn(1000000L); when(mockInfo.getLastWriteTime()).thenReturn(2000000L); // Use the mockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
request.setFileInfoClass((byte) 0x04); request.setAdditionalInformation(0x12345678); Encodable mockInfo = mock(Encodable.class); when(mockInfo.encode(any(byte[].class), anyInt())).thenReturn(20); when(mockInfo.size()).thenReturn(20); request.setInfo(mockInfo); // Set up header start for offset calculation try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
try { final BlobId blobId = BlobId.of(bucket, objectName); final BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType(contentType).build(); storage.createFrom(blobInfo, inputStream); } catch (final Exception e) { throw new StorageException("Failed to upload " + objectName, e); } }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
storage.create(BucketInfo.newBuilder(bucketName).build()); storage.create(BlobInfo.newBuilder(BlobId.of(bucketName, "file1.txt"))// .setContentType("application/octet-stream")// .setMetadata(Map.of("label", "label1"))// .build(), "file1".getBytes()); storage.create(BlobInfo.newBuilder(BlobId.of(bucketName, "dir1/file2.txt"))//Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
defer z.poolMetaMutex.RUnlock() poolInfo := z.poolMeta.Pools[idx].Clone() if poolInfo.Decommission != nil { poolInfo.Decommission.TotalSize = pi.Total poolInfo.Decommission.CurrentSize = pi.Free } else { poolInfo.Decommission = &PoolDecommissionInfo{ TotalSize: pi.Total, CurrentSize: pi.Free, } } return poolInfo, nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 42.2K bytes - Viewed (1)