Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1531 - 1540 of 2,167 for latch (0.02 sec)

  1. android/guava/src/com/google/common/collect/TreeRangeMap.java

          }
    
          @Override
          @CheckForNull
          public V get(@CheckForNull Object key) {
            try {
              if (key instanceof Range) {
                @SuppressWarnings("unchecked") // we catch ClassCastExceptions
                Range<K> r = (Range<K>) key;
                if (!subRange.encloses(r) || r.isEmpty()) {
                  return null;
                }
                RangeMapEntry<K, V> candidate = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractService.java

      @Override
      public final Service startAsync() {
        if (monitor.enterIf(isStartable)) {
          try {
            snapshot = new StateSnapshot(STARTING);
            enqueueStartingEvent();
            doStart();
          } catch (Throwable startupFailure) {
            restoreInterruptIfIsInterruptedException(startupFailure);
            notifyFailed(startupFailure);
          } finally {
            monitor.leave();
            dispatchListenerEvents();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  3. tests/joins_test.go

    		t.Fatalf("Failed, got error: %v", err)
    	}
    
    	if result.ID != user.ID {
    		t.Fatalf("result's id, %d, doesn't match user's id, %d", result.ID, user.ID)
    	}
    	// should find company
    	if result.Company.ID != *user.CompanyID {
    		t.Fatalf("result's id, %d, doesn't match user's company id, %d", result.Company.ID, *user.CompanyID)
    	}
    }
    
    func TestJoinWithSoftDeleted(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    	if numField != len(columnTypes) {
    		t.Fatalf("column's number not match struct and ddl, %d != %d", numField, len(columnTypes))
    	}
    	namer := schema.NamingStrategy{}
    	for i := 0; i < numField; i++ {
    		expectName := namer.ColumnName("", typ.Field(i).Name)
    		if columnTypes[i].Name() != expectName {
    			t.Fatalf("column order not match struct and ddl, idx %d: %s != %s",
    				i, columnTypes[i].Name(), expectName)
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    // of the read content as ETag. Optionally, it also computes
    // the SHA256 checksum of the content.
    //
    // If the reference values for the ETag and content SHA26
    // are not empty then it will check whether the computed
    // match the reference values.
    type Reader struct {
    	src         io.Reader
    	bytesRead   int64
    	expectedMin int64
    	expectedMax int64
    
    	size       int64
    	actualSize int64
    
    	checksum      etag.ETag
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
        } catch (e: ParseException) {
          throw ProtocolException("Failed to parse UTCTime $string")
        }
      }
    
      internal fun formatUtcTime(date: Long): String {
        val utc = TimeZone.getTimeZone("GMT")
        val dateFormat =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      public void testSubList_startGreaterThanEnd() {
        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      public void testSubList_startGreaterThanEnd() {
        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                                    && !Lifecycle.SITE.equals(id))
                            .map(id -> wrap(all.get(id)))
                            .collect(Collectors.toList());
                } catch (ComponentLookupException e) {
                    throw new LookupException(e);
                }
            }
    
            private Lifecycle wrap(org.apache.maven.lifecycle.Lifecycle lifecycle) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. go.mod

    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
    	github.com/docker/cli v27.3.1+incompatible
    	github.com/envoyproxy/go-control-plane v0.13.2-0.20241022220226-23b7e55d7f65
    	github.com/evanphx/json-patch/v5 v5.9.0
    	github.com/fatih/color v1.18.0
    	github.com/felixge/fgprof v0.9.5
    	github.com/florianl/go-nflog/v2 v2.1.0
    	github.com/fsnotify/fsnotify v1.7.0
    	github.com/go-jose/go-jose/v3 v3.0.3
    	github.com/go-logr/logr v1.4.2
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top