Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 886 for zero (0.01 sec)

  1. src/test/java/jcifs/smb/NtStatusTest.java

            // Given
            int successStatus = NtStatus.NT_STATUS_SUCCESS;
    
            // When/Then
            assertEquals(0x00000000, successStatus);
            // Success status should be zero
            assertTrue(successStatus == 0);
        }
    
        @Test
        @DisplayName("Should identify error status codes")
        void testErrorStatusIdentification() {
            // Given
            int[] errorStatuses =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            // observed two zero bytes here with at least win98
            return 2;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            dstIndex += 4;
    
            SMBUtil.writeInt4(leaseFlags, dst, dstIndex); // LeaseFlags (4 bytes)
            dstIndex += 4;
    
            SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero
            dstIndex += 8;
    
            return dstIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
       * <p>Usage example:
       *
       * {@snippet :
       * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch
       * // counters.
       * ListenableFuture<Integer> faultTolerantFuture =
       *     fetchCounters().catching(FetchException.class, x -> 0, directExecutor());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(1048576L * 8 * 512, fileFsFullSizeInfo.getCapacity());
                assertEquals(524288L * 8 * 512, fileFsFullSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should decode buffer with zero values")
            void shouldDecodeBufferWithZeroValues() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. src/archive/zip/struct.go

    	// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings.
    	NonUTF8 bool
    
    	CreatorVersion uint16
    	ReaderVersion  uint16
    	Flags          uint16
    
    	// Method is the compression method. If zero, Store is used.
    	Method uint16
    
    	// Modified is the modified time of the file.
    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            } else {
                SMBUtil.writeInt2(0, dst, dstIndex);
                SMBUtil.writeInt2(0, dst, dstIndex + 2);
                dstIndex += 4;
            }
    
            // one byte in buffer must be zero
            dst[dstIndex] = 0;
            dstIndex += 1;
    
            // Write SMB2_RDMA_TRANSFORM if using RDMA channel
            if (rdmaChannelInfo != null && channel == Smb2Constants.SMB2_CHANNEL_RDMA_V1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. cmd/untar.go

    						return
    					}
    					asyncErrMu.Lock()
    					if asyncErr == nil {
    						asyncErr = err
    					}
    					asyncErrMu.Unlock()
    				}
    			}(name, header.FileInfo(), b)
    			continue
    		}
    
    		// If zero or earlier modtime, set to current.
    		// Otherwise the resulting objects will be invalid.
    		if header.ModTime.UnixNano() <= 0 {
    			header.ModTime = time.Now()
    		}
    
    		// Sync upload.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
  9. cmd/xl-storage-format-utils_test.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func Test_hashDeterministicString(t *testing.T) {
    	tests := []struct {
    		name string
    		arg  map[string]string
    	}{
    		{
    			name: "zero",
    			arg:  map[string]string{},
    		},
    		{
    			name: "nil",
    			arg:  nil,
    		},
    		{
    			name: "one",
    			arg:  map[string]string{"key": "value"},
    		},
    		{
    			name: "several",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

       * file is detected. The number of bytes read is returned, possibly zero. Does not close the
       * stream.
       *
       * <p>A caller can detect EOF if the number of bytes read is less than {@code len}. All subsequent
       * calls on the same stream will return zero.
       *
       * <p>If {@code b} is null, a {@code NullPointerException} is thrown. If {@code off} is negative,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top