- Sort Score
- Num 10 results
- Language All
Results 631 - 640 of 961 for dsbyte (0.04 seconds)
-
internal/bucket/lifecycle/transition_test.go
}, { input: `<Transition> <Days>1</Days> </Transition>`, err: errXMLNotWellFormed, }, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err { t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 01 18:58:17 GMT 2021 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
// Verify security descriptor encoding verify(mockDeferredBuffer).enc_ndr_long(2); verify(mockDeferredBuffer).advance(2); verify(mockDeferredBuffer).enc_ndr_small((byte) 1); verify(mockDeferredBuffer).enc_ndr_small((byte) 2); } @Test void testShareInfoCtr0EncodeWithArray() throws NdrException { srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0(); ctr0.count = 2;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
cmd/dummy-handlers.go
return } const accelerateDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><AccelerateConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>` writeSuccessResponseXML(w, []byte(accelerateDefaultConfig)) } // GetBucketRequestPaymentHandler - GET bucket requestPayment, a dummy api func (api objectAPIHandlers) GetBucketRequestPaymentHandler(w http.ResponseWriter, r *http.Request) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 13 15:25:16 GMT 2024 - 8.8K bytes - Click Count (0) -
internal/store/queuestore.go
if err != nil { return err } return store.writeBytes(key, eventData) } // writeBytes - writes bytes to the directory. func (store *QueueStore[I]) writeBytes(key Key, b []byte) (err error) { path := filepath.Join(store.directory, key.String()) if key.Compress { err = os.WriteFile(path, s2.Encode(nil, b), os.FileMode(0o770)) } else { err = os.WriteFile(path, b, os.FileMode(0o770))Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
internal/config/lambda/event/targetid.go
return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err } targetID, err := parseTargetID(s) if err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
final byte[] bom = new byte[] { (byte) 0xEF, (byte) 0xBB, (byte) 0xBF }; final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n" + " <url>\n" + " <loc>http://www.example.com/page1.html</loc>\n" + " </url>\n" + "</urlset>"; final byte[] xmlBytes = xml.getBytes();Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 36.7K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
@Test public void testUpdateHandleFileId() { HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } manager.updateHandleFileId(guid, fileId); HandleInfo info = manager.getHandleByGuid(guid);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0) -
utils/utils.go
} // FileWithLineNum return the file name and line number of the current file func FileWithLineNum() string { frame := CallerFrame() if frame.PC != 0 { return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } return "" } func IsInvalidDBNameChar(c rune) bool { return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@'
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 10:56:26 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/store/store.go
// Store - Used to persist items. type Store[I any] interface { Put(item I) (Key, error) PutMultiple(item []I) (Key, error) Get(key Key) (I, error) GetMultiple(key Key) ([]I, error) GetRaw(key Key) ([]byte, error) PutRaw(b []byte) (Key, error) Len() int List() []Key Del(key Key) error Open() error Delete() error } // Key denotes the key present in the store. type Key struct { Name string Compress bool
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0)