Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 490 for Correct (0.05 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                msg.decode_header(fragBuf);
                final int stub_frag_len = msg.length - 24;
                if (off + stub_frag_len > in.length) {
                    // shouldn't happen if alloc_hint is correct or greater
                    final byte[] tmp = new byte[off + stub_frag_len];
                    System.arraycopy(in, 0, tmp, 0, off);
                    in = tmp;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            for (int i = 0; i < result1.size(); i++) {
                assertEquals(result1.get(i), result2.get(i));
                assertEquals(result2.get(i), result3.get(i));
            }
    
            // Verify content is correct
            assertEquals(2, result1.size());
            assertEquals(mockNotifyInfo1, result1.get(0));
            assertEquals(mockNotifyInfo2, result1.get(1));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. cmd/local-locker.go

    // or last read lock)
    // UID and optionally owner must match for entries to be deleted.
    func (l *localLocker) removeEntry(name string, args dsync.LockArgs, lri *[]lockRequesterInfo) bool {
    	// Find correct entry to remove based on uid.
    	for index, entry := range *lri {
    		if entry.UID == args.UID && (args.Owner == "" || entry.Owner == args.Owner) {
    			if len(*lri) == 1 {
    				// Remove the write lock.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals("SERVER2", serverList.get(1).oemDomainName);
        }
    
        /**
         * Test field types match expected types
         */
        @Test
        @DisplayName("Test field types are correct")
        public void testFieldTypes() throws NoSuchFieldException {
            // Verify field types
            assertEquals(byte.class, ServerData.class.getDeclaredField("sflags").getType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            try {
                int read = sis.read(buffer, 0, 10);
    
                // Should read all 5 available bytes
                assertEquals(5, read);
    
                // Verify correct data
                for (int i = 0; i < 5; i++) {
                    assertEquals(i + 1, buffer[i]);
                }
    
                // Next read will try to read header and should fail
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    	}
    	// Verify if sha256 payload query is same.
    	if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) {
    		return ErrContentSHA256Mismatch
    	}
    	// Verify if security token is correct.
    	if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 {
    		return ErrInvalidToken
    	}
    
    	// Verify finally if signature is same.
    
    	// Get canonical request.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesTest.java

              .of(expectedLargeDatasetPercentile(index));
        }
      }
    
      @AndroidIncompatible // slow
      public void testPercentiles_index_computeInPlace() {
        // Assert that the computation gives the correct result for all possible percentiles.
        for (int index = 0; index <= 100; index++) {
          double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
          assertWithMessage("quantile at index " + index)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesTest.java

              .of(expectedLargeDatasetPercentile(index));
        }
      }
    
      @AndroidIncompatible // slow
      public void testPercentiles_index_computeInPlace() {
        // Assert that the computation gives the correct result for all possible percentiles.
        for (int index = 0; index <= 100; index++) {
          double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
          assertWithMessage("quantile at index " + index)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    	if o.IsLatest {
    		ts.NumObjects = 1
    	}
    	return ts
    }
    
    // ToObjectInfo converts a replication object info to a partial ObjectInfo
    // do not rely on this function to give you correct ObjectInfo, this
    // function is merely and optimization.
    func (ri ReplicateObjectInfo) ToObjectInfo() ObjectInfo {
    	return ObjectInfo{
    		Name:                       ri.Name,
    		Bucket:                     ri.Bucket,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top