Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 1,740 for Equalf (0.06 sec)

  1. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            if (element == target) {
              it.remove();
              return true;
            }
          }
          return false;
        }
    
        /** Removes only this exact instance, not others that are equals() */
        private boolean removeExact(Object target) {
          for (int i = 0; i < size; i++) {
            if (queue[i] == target) {
              removeAt(i);
              return true;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser.go

    	}
    
    	// Check if Expiry time is less than 7 days (value in seconds).
    	if preSignV4Values.Expires.Seconds() > 604800 {
    		return psv, ErrMaximumExpires
    	}
    
    	if preSignV4Values.Date.IsZero() || preSignV4Values.Date.Equal(timeSentinel) {
    		return psv, ErrMalformedPresignedDate
    	}
    
    	// Save signed headers.
    	preSignV4Values.SignedHeaders, aec = parseSignedHeader("SignedHeaders=" + query.Get(xhttp.AmzSignedHeaders))
    	if aec != ErrNone {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. cmd/bitrot-streaming.go

    	}
    	b.h.Reset()
    	_, err = io.ReadFull(b.rc, b.hashBytes)
    	if err != nil {
    		return 0, err
    	}
    	_, err = io.ReadFull(b.rc, buf)
    	if err != nil {
    		return 0, err
    	}
    	b.h.Write(buf)
    	if !bytes.Equal(b.h.Sum(nil), b.hashBytes) {
    		return 0, errFileCorrupt
    	}
    	b.currOffset += int64(len(buf))
    	return len(buf), nil
    }
    
    // Returns streaming bitrot reader implementation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tests/soft_delete_test.go

    	}
    
    	if err := DB.Delete(&book).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	zeroTime, _ := now.Parse("1970-01-01 00:00:01")
    	if book.DeletedAt.Time.Equal(zeroTime) {
    		t.Errorf("book's deleted at should not be zero, DeletedAt: %v", book.DeletedAt)
    	}
    
    	if DB.First(&SoftDeleteBook{}, "name = ?", book.Name).Error == nil {
    		t.Errorf("Can't find a soft deleted record")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top