Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for onComplete (0.06 sec)

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

            });
    
            assertEquals("unexpected EOF reading netbios session header", exception.getMessage());
        }
    
        @Test
        @DisplayName("readPacketType should throw IOException on incomplete header")
        void testReadPacketTypeIncompleteHeader() {
            byte[] headerData = { (byte) 0x81, (byte) 0x00 }; // Only 2 bytes instead of 4
            ByteArrayInputStream bais = new ByteArrayInputStream(headerData);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenTarg.java

        /**
         * Result code indicating authentication completed successfully
         */
        public static final int ACCEPT_COMPLETED = 0;
        /**
         * Result code indicating authentication is incomplete and additional tokens required
         */
        public static final int ACCEPT_INCOMPLETE = 1;
        /**
         * Result code indicating authentication was rejected
         */
        public static final int REJECTED = 2;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops.go

    	if tracker.ItemsFailed > 0 && tracker.RetryAttempts < 4 {
    		tracker.RetryAttempts++
    
    		healingLogEvent(ctx, "Healing of drive '%s' is incomplete, retrying %s time (healed: %d, skipped: %d, failed: %d).", disk,
    			humanize.Ordinal(int(tracker.RetryAttempts)), tracker.ItemsHealed, tracker.ItemsSkipped, tracker.ItemsFailed)
    
    		tracker.resetHealing()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. 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
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. 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
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	go func() {
    		pw.CloseWithError(er.getObjectWithFileInfo(ctx, bucket, object, off, length, pw, fi, metaArr, onlineDisks))
    	}()
    
    	// Cleanup function to cause the go routine above to exit, in
    	// case of incomplete read.
    	pipeCloser := func() {
    		pr.CloseWithError(nil)
    	}
    
    	if !unlockOnDefer {
    		return fn(pr, h, pipeCloser, nsUnlocker)
    	}
    
    	return fn(pr, h, pipeCloser)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    			storageLogIf(ctx, fmt.Errorf("Unable to initialize backend: %w, retrying in %s", err, retry))
    			time.Sleep(retry)
    			attempt++
    			continue
    		}
    		break
    	}
    
    	// initialize the incomplete uploads cache
    	z.mpCache = xsync.NewMapOf[string, MultipartInfo]()
    
    	go z.cleanupStaleMPCache(ctx)
    
    	return z, nil
    }
    
    func (z *erasureServerPools) cleanupStaleMPCache(ctx context.Context) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top