Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 862 for now (0.03 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled");
        disabled.setAccessible(true);
        disabled.set(null, true);
    
        // Now make a parallel FRQ and an associated FinalizableWeakReference to an object, in order to
        // exercise some classes from the parallel ClassLoader.
        AtomicReference<Object> sepFrqA =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    func TestThreeSimultaneousLocksForSameResource(t *testing.T) {
    	dm1st := NewDRWMutex(ds, "aap")
    	dm2nd := NewDRWMutex(ds, "aap")
    	dm3rd := NewDRWMutex(ds, "aap")
    
    	dm1st.Lock(id, source)
    	started := time.Now()
    	var expect time.Duration
    	// Release lock after 10 seconds
    	go func() {
    		// TOTAL
    		time.Sleep(2 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tests/query_test.go

    		Number3 float64    `gorm:"default:NULL"`
    		Now     *time.Time `gorm:"default:NULL"`
    		Item1Id string
    		Item1   *QueryResetItem `gorm:"references:ID"`
    		Item2Id string
    		Item2   *QueryResetItem `gorm:"references:ID"`
    	}
    
    	DB.Migrator().DropTable(&QueryResetNullValue{}, &QueryResetItem{})
    	DB.AutoMigrate(&QueryResetNullValue{}, &QueryResetItem{})
    
    	now := time.Now()
    	q1 := QueryResetNullValue{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    	storageEndpoints := er.getEndpoints()
    
    	defer func() {
    		er.auditHealObject(ctx, bucket, object, versionID, result, err)
    	}()
    
    	if globalTrace.NumSubscribers(madmin.TraceHealing) > 0 {
    		startTime := time.Now()
    		defer func() {
    			healTrace(healingMetricObject, startTime, bucket, object, &opts, err, &result)
    		}()
    	}
    
    	// Initialize heal result object
    	result = madmin.HealResultItem{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  5. cmd/utils.go

    	if fi, err := os.Stat(path); err == nil {
    		return fi.Mode().IsRegular()
    	}
    
    	return false
    }
    
    // UTCNow - returns current UTC time.
    func UTCNow() time.Time {
    	return time.Now().UTC()
    }
    
    // GenETag - generate UUID based ETag
    func GenETag() string {
    	return ToS3ETag(getMD5Hash([]byte(mustGetUUID())))
    }
    
    // ToS3ETag - return checksum to ETag
    func ToS3ETag(etag string) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. gradlew

    if "$cygwin" || "$msys" ; then
        APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
        CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
    
        JAVACMD=$( cygpath --unix "$JAVACMD" )
    
        # Now convert the arguments - kludge to limit ourselves to /bin/sh
        for arg do
            if
                case $arg in                                #(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       */
      internal val rdnSequence: BasicDerAdapter<List<List<AttributeTypeAndValue>>> =
        attributeTypeAndValue.asSetOf().asSequenceOf()
    
      /**
       * ```
       * Name ::= CHOICE {
       *   -- only one possibility for now --
       *   rdnSequence  RDNSequence
       * }
       * ```
       */
      internal val name: DerAdapter<Pair<DerAdapter<*>, Any?>> =
        Adapters.choice(
          rdnSequence,
        )
    
      /**
       * ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> {
    
      /** Creates an empty {@code CompactLinkedHashSet} instance. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

       */
      private void assertSuppressed(Suppression... expected) {
        assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions);
      }
    
      // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it.
      /** Suppressor that records suppressions. */
      private static class TestSuppressor implements Closer.Suppressor {
    
        private final List<Suppression> suppressions = Lists.newArrayList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

              }
            });
    
        // Run these together.
        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top