Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 238 for partial (0.51 sec)

  1. docs/debugging/xl-meta/main.go

    		for _, file := range v {
    			part := getPartNum(file)
    			partIdx, ok := partNums[part]
    			if !ok {
    				partIdx = len(names)
    				partNums[part] = partIdx
    				names = append(names, nil)
    				files = append(files, make(map[string][]string))
    			}
    			names[partIdx] = append(names[partIdx], k)
    			files[partIdx][k] = append(files[partIdx][k], file)
    		}
    	}
    	if len(files) == 0 {
    		return nil
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals(5, bytesRead);
            for (int i = 0; i < 5; i++) {
                assertEquals(data[i], buffer[i]);
            }
        }
    
        @Test
        @DisplayName("readn should handle partial reads")
        void testReadnPartial() throws IOException {
            byte[] buffer = new byte[10];
            byte[] data = { 1, 2, 3 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertFalse(item.isBadWord(badWords));
    
            // Test with matching bad word
            String[] badWords2 = { "test", "bad" };
            assertTrue(item.isBadWord(badWords2));
    
            // Test with partial match
            item.setText("testing something");
            String[] badWords3 = { "test" };
            assertTrue(item.isBadWord(badWords3));
        }
    
        @Test
        public void testToEmptyMap() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                assertNotNull(parentElement.child("artifactId").orElse(null));
                assertNotNull(parentElement.child("version").orElse(null));
            }
    
            @Test
            @DisplayName("should handle partial inheritance in 4.0.0")
            void shouldHandlePartialInheritanceIn400() throws Exception {
                String parentPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.setFaultyDelete(cacheDir / "a.1", true)
        taskFaker.runNextTask()
    
        // Confirm the partial snapshot is not returned.
        assertThat(cache["a"]).isNull()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("a")).isNull()
    
        // Confirm the partial snapshot is not returned after a successful trim.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  6. cmd/s3-zip-handlers.go

    	}
    
    	if isTruncated {
    		listObjectsInfo.IsTruncated = true
    		listObjectsInfo.NextContinuationToken = nextToken
    	}
    
    	return listObjectsInfo, nil
    }
    
    // getFilesFromZIPObject reads a partial stream of a zip file to build the zipindex.Files index
    func getFilesListFromZIPObject(ctx context.Context, objectAPI ObjectLayer, bucket, object string, opts ObjectOptions) (zipindex.Files, ObjectInfo, error) {
    	size := 1 << 20
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertThrows(SmbEndOfFileException.class, () -> raf.readFully(new byte[4]));
        }
    
        @Test
        @DisplayName("readFully(): reads across multiple partial reads")
        void readFully_readsAll() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            AtomicInteger calls = new AtomicInteger();
            doAnswer(inv -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    		f.buf.Next(match[0])
    		if err != nil {
    			return n, err
    		}
    	}
    	return n, nil
    }
    
    func (f *exitCodeFilter) Finish() (int, error) {
    	// f.buf could be empty, contain a partial match of exitRe, or
    	// contain a full match.
    	b := f.buf.Bytes()
    	defer f.buf.Reset()
    	match := f.exitRe.FindSubmatch(b)
    	if len(match) < 2 || match[1] == nil {
    		// Not a full match. Flush.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testPartialRead() throws Exception {
            // Test partial file reads (important for SMB streaming)
            long timestamp = System.currentTimeMillis();
            SmbFile file = new SmbFile(baseUrl + "shared/partial_" + timestamp + ".txt", context);
    
            // Write test data
            String content = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatalf("Failed to create a multipart upload - %v", err)
    	}
    
    	var uploadedParts []CompletePart
    	for _, partID := range []int{2, 1} {
    		pInfo, err1 := objLayer.PutObjectPart(ctx, bucket, object, res.UploadID, partID, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), opts)
    		if err1 != nil {
    			t.Fatalf("Failed to upload a part - %v", err1)
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
Back to top