Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1871 - 1880 of 1,922 for Try (0.1 sec)

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

      // throws it, unlike JDK6.  Therefore, we accept ClassCastException as a
      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
          assertThat(actual).isNotEqualTo(unexpected);
        } catch (ClassCastException accepted) {
        }
      }
    
      public void testHeadSetInclusive() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    			os.Exit(2)
    		}
    	}()
    	return func() {
    		close(cc)
    	}
    }
    
    func assertNoActive(t *testing.T, c *Connection) {
    	t.Helper()
    	// Tiny bit racy for tests, but we try to play nice.
    	for i := 10; i >= 0; i-- {
    		runtime.Gosched()
    		stats := c.Stats()
    		if stats.IncomingStreams != 0 {
    			if i > 0 {
    				time.Sleep(100 * time.Millisecond)
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/server-main.go

    }
    
    func configRetriableErrors(err error) bool {
    	if err == nil {
    		return false
    	}
    
    	notInitialized := strings.Contains(err.Error(), "Server not initialized, please try again") ||
    		errors.Is(err, errServerNotInitialized)
    
    	// Initializing sub-systems needs a retry mechanism for
    	// the following reasons:
    	//  - Read quorum is lost just after the initialization
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (2)
  4. internal/config/config.go

    // DelKVS - delete a specific key.
    func (c Config) DelKVS(s string) error {
    	subSys, inputs, tgt, err := GetSubSys(s)
    	if err != nil {
    		if !SubSystems.Contains(subSys) && len(inputs) == 1 {
    			// Unknown sub-system found try to remove it anyways.
    			delete(c, subSys)
    			return nil
    		}
    		return err
    	}
    
    	ck, ok := c[subSys][tgt]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

       * collection might be empty, also provide a default comparator as the {@code identity} parameter
       * to {@code reduce}).
       *
       * @param comparators the comparators to try in order
       */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Ordering<T> compound(
          Iterable<? extends Comparator<? super T>> comparators) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    	m, err := readAndMap(files, 1, 0)
    	if err != nil {
    		return err
    	}
    	if m.blocks > 0 {
    		// TODO: Support multiple blocks. For now use -xver.
    		return fmt.Errorf("multiple blocks found, only one block supported. Try with -xver")
    	}
    	lastValid := 0
    	missing := 0
    	for i := range m.filled {
    		if m.filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    	if missing > 0 && len(m.parityData) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    		}
    		size += int64(partSize)
    	}
    	return size, nil
    }
    
    // DecryptETag decrypts the ETag that is part of given object
    // with the given object encryption key.
    //
    // However, DecryptETag does not try to decrypt the ETag if
    // it consists of a 128 bit hex value (32 hex chars) and exactly
    // one '-' followed by a 32-bit number.
    // This special case addresses randomly-generated ETags generated
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/popper.min.js.map

    */\nexport default function getBoundingClientRect(element) {\n  let rect = {};\n\n  // IE10 10 FIX: Please, don't ask, the element isn't\n  // considered in DOM in some circumstances...\n  // This isn't reproducible in IE10 compatibility mode of IE11\n  try {\n    if (isIE(10)) {\n      rect = element.getBoundingClientRect();\n      const scrollTop = getScroll(element, 'top');\n      const scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun readTimeouts() {
        // This relies on the fact that MockWebServer doesn't close the
        // connection after a response has been sent. This causes the client to
        // try to read more bytes than are sent, which results in a timeout.
        server.enqueue(
          MockResponse.Builder()
            .body("ABC")
            .clearHeaders()
            .addHeader("Content-Length: 4")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  10. cmd/notification.go

    	// TX saturating, however there are situations where a RX might also saturate.
    	// To avoid these problems we must split the work at scale. With 1000 node
    	// setup becoming a reality we must try to shard the work properly such as
    	// pick 10 nodes that precisely can send those 100 requests the first node
    	// in the 10 node shard would coordinate between other 9 shards to get the
    	// rest of the `99*9` requests.
    	//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top