Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 52 for isComplete (0.05 seconds)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            int bytesRead = readPacket.readTrailerWireFormat(bais, buffer, 0);
    
            assertEquals(written, bytesRead);
        }
    
        @Test
        @DisplayName("readTrailerWireFormat should throw IOException on incomplete data")
        void testReadTrailerWireFormatIncompleteData() {
            byte[] buffer = new byte[10]; // Too small buffer
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. docs/changelogs/changelog_3x.md

        `IOException` that reports the call as canceled. The triggering exception is still delivered to
        the thread's `UncaughtExceptionHandler`.
     *  Fix: Don't evict incomplete entries when iterating the cache. We had a bug where iterating
        `Cache.urls()` would prevent in-flight entries from being written.
    
    
    ## Version 3.14.3
    
    _2019-09-10_
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("EOF handling when stream ends mid-header")
        void eofHandlingMidHeader() throws IOException {
            // Create incomplete header (only 2 bytes instead of 4)
            byte[] incompleteHeader = new byte[] { (byte) SessionServicePacket.SESSION_MESSAGE, 0 };
            InputStream in = new ByteArrayInputStream(incompleteHeader);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. cmd/object-api-datatypes.go

    	for _, upload := range lm.Uploads {
    		if upload.UploadID == uploadID {
    			return true
    		}
    	}
    	return false
    }
    
    // ListMultipartsInfo - represents bucket resources for incomplete multipart uploads.
    type ListMultipartsInfo struct {
    	// Together with upload-id-marker, this parameter specifies the multipart upload
    	// after which listing should begin.
    	KeyMarker string
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getErrors().get(0).contains("distributionManagement.status"));
        }
    
        @Test
        void testIncompleteParent() throws Exception {
            SimpleProblemCollector result = validateRaw("incomplete-parent.xml");
    
            assertViolations(result, 3, 0, 0);
            assertTrue(result.getFatals().get(0).contains("parent.groupId"));
            assertTrue(result.getFatals().get(1).contains("parent.artifactId"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  6. docs/debugging/xl-meta/main.go

    		}
    	}
    	if lastValid == 0 {
    		return errors.New("no valid data found")
    	}
    	if missing > 0 {
    		fmt.Println(missing, "bytes missing. Truncating", len(m.filled)-lastValid-1, "from end.")
    		out += ".incomplete"
    	} else {
    		fmt.Println("No bytes missing.")
    		out += ".complete"
    	}
    	m.mapped = m.mapped[:lastValid+1]
    	err = os.WriteFile(out, m.mapped, os.ModePerm)
    	if err != nil {
    		return err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         */
        @Nullable Executor delegate;
    
        /**
         * Set before calling delegate.execute(); set to null once run, so that it can be GCed; this
         * object may live on after, if submitAsync returns an incomplete future.
         */
        @Nullable Runnable task;
    
        /** Thread that called execute(). Set in execute, cleared when delegate.execute() returns. */
        @LazyInit @Nullable Thread submitting;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        /**
         * The path identified by the Java {@code --patch-module} option.
         * The Java tools location is {@link StandardLocation#PATCH_MODULE_PATH}.
         *
         * Note that this option is incomplete, because it must be followed by a module name.
         * Use this type only when the module to patch is unknown.
         *
         * @see #patchModule(String)
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
          assertThat(ioe.message).isEqualTo("Premature EOF")
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  10. cmd/post-policy_test.go

    	var buf bytes.Buffer
    	w := multipart.NewWriter(&buf)
    
    	// Set the normal formData
    	for k, v := range formData {
    		w.WriteField(k, v)
    	}
    	// Set the File formData but don't if we want send an incomplete multipart request
    	if !corruptedMultipart {
    		var writer io.Writer
    		var err error
    		if noFilename {
    			writer, err = w.CreateFormField("file")
    		} else {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
Back to Top