Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,190 for asDays (0.1 sec)

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

    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.SerializableTester;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Utf8.java

       * sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered
       * well-formed.
       *
       * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new
       * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space.
       */
      public static boolean isWellFormed(byte[] bytes) {
        return isWellFormed(bytes, 0, bytes.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ACE.java

         */
        int getAccessMask ();
    
    
        /**
         * Returns the 'Apply To' text for inheritance of ACEs on
         * directories such as 'This folder, subfolder and files'. For
         * files the text is always 'This object only'.
         * 
         * @return descriptive text for the ACE scope
         */
        String getApplyToText ();
    
    
        /**
         * Returns the flags for this ACE. The <tt>isInherited()</tt>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  5. internal/s3select/jstream/decoder_test.go

    		// Depth 2 = ok
    		{input: `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`, maxDepth: 2, mustFail: false},
    		// Arrays:
    		{input: `[[[[[[[[[[[[[[[[[[[[[["ok"]]]]]]]]]]]]]]]]]]]]]]`, maxDepth: 2, mustFail: true},
    		{input: `[[[[[[[[[[[[[[[[[[[[[["ok"]]]]]]]]]]]]]]]]]]]]]]`, maxDepth: 10, mustFail: true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.ArgumentMatchers.isA;
    import static org.mockito.Mockito.eq;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

           */
          @Override
          protected int tryAcquireShared(int ignored) {
            if (isDone()) {
              return 1;
            }
            return -1;
          }
    
          /*
           * We always allow a release to go through, this means the state has been
           * successfully changed and the result is available.
           */
          @Override
          protected boolean tryReleaseShared(int finalState) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers-idp-config.go

    		}
    		if !isUpdate && subSysTargetsSet.Contains(cfgTarget) {
    			return ErrAdminConfigIDPCfgNameAlreadyExists
    		}
    
    		return ErrNone
    	}
    
    	// For the default configuration name, since it will always be an available
    	// target, we need to check if a configuration value has been set previously
    	// to figure out if this is a valid create or update API call.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. internal/dsync/dsync_test.go

    	dm2 := NewDRWMutex(ds, "noot")
    
    	dm1.Lock(id, source)
    	dm2.Lock(id, source)
    	dm1.Unlock(context.Background())
    	dm2.Unlock(context.Background())
    }
    
    // Test refreshing lock - refresh should always return true
    func TestSuccessfulLockRefresh(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	dm := NewDRWMutex(ds, "aap")
    	dm.refreshInterval = testDrwMutexRefreshInterval
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top