Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 332 for verifyFn (0.15 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

          assertThrows(
              NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls));
        }
      }
    
      /**
       * Verify thread safety by using a collection whose size() may be inconsistent with the actual
       * number of elements and whose elements may change over time.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. tests/update_test.go

    	DB.Create(&user)
    
    	// Update a single field of the user and verify that the changed address is not stored.
    	newAge := uint(100)
    	user.Account.Number = "new_account_number"
    	db := DB.Model(&user).UpdateColumns(User{Age: newAge})
    
    	if db.RowsAffected != 1 {
    		t.Errorf("Expected RowsAffected=1 but instead RowsAffected=%v", db.RowsAffected)
    	}
    
    	// Verify that Age now=`newAge`.
    	result := &User{}
    	result.ID = user.ID
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertThrows(NullPointerException.class, () -> ImmutableList.of("a", null, "b"));
      }
    
      public void testCreation_generic() {
        List<String> a = ImmutableList.of("a");
        // only verify that there is no compile warning
        ImmutableList<List<String>> unused = ImmutableList.of(a, a);
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InetAddressesTest.java

              compat,
              InetAddresses.getCompatIPv4Address((Inet6Address) ip));
        }
      }
    
      public void testMappedIPv4Addresses() throws UnknownHostException {
        /*
         * Verify that it is not possible to instantiate an Inet6Address
         * from an "IPv4 mapped" IPv6 address.  Our String-based method can
         * at least identify them, however.
         */
        String mappedStr = "::ffff:192.168.0.1";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                 * suggests MS doesn't compute the signature (correctly) for error responses
                 * (perhaps for DOS reasons).
                 */
                if (digest != null && resp.errorCode == 0) {
                    digest.verify( BUF, 4, resp );
                }
    
                if (log.level >= 4) {
                    log.println( response );
                    if (log.level >= 6) {
                        Hexdump.hexdump( log, BUF, 4, size );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // Since we're not doing any more cache operations, and the cache only expires/evicts when doing
        // other operations, the cache and the removal queue won't change from this point on.
    
        // Verify that each received removal notification was valid
        for (RemovalNotification<String, String> notification : removalListener) {
          assertEquals("Invalid removal notification", notification.getKey(), notification.getValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    }
    
    func (er erasureObjects) getMultipartSHADir(bucket, object string) string {
    	return getSHA256Hash([]byte(pathJoin(bucket, object)))
    }
    
    // checkUploadIDExists - verify if a given uploadID exists and is valid.
    func (er erasureObjects) checkUploadIDExists(ctx context.Context, bucket, object, uploadID string, write bool) (fi FileInfo, metArr []FileInfo, err error) {
    	defer func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    	delta := remoteTime.Sub(localTime)
    	if delta < 0 {
    		delta *= -1
    	}
    
    	if delta > DefaultSkewTime {
    		return errSkewedAuthTime
    	}
    
    	return nil
    }
    
    // IsAuthValid - To authenticate and verify the time difference.
    func (s *storageRESTServer) IsAuthValid(w http.ResponseWriter, r *http.Request) bool {
    	if s.getStorage() == nil {
    		s.writeErrorResponse(w, errDiskNotFound)
    		return false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            .createTestSuite();
      }
    
      public void testConsumingIterator() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
        Iterator<String> consumingIterator = Iterators.consumingIterator(list.iterator());
    
        assertEquals("Iterators.consumingIterator(...)", consumingIterator.toString());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  10. docs/sts/ldap.md

    MINIO_IDENTITY_LDAP_SRV_RECORD_NAME          (string)    DNS SRV record name for LDAP service, if given, must be one of ldap, ldaps or on
    MINIO_IDENTITY_LDAP_TLS_SKIP_VERIFY         (on|off)    trust server TLS without verification, defaults to "off" (verify)
    MINIO_IDENTITY_LDAP_SERVER_INSECURE         (on|off)    allow plain text connection to AD/LDAP server, defaults to "off"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top