Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 281 for succeeded (0.14 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        class Task implements Runnable {
          @Override
          public void run() {
            lock.lock();
            try {
              /*
               * requireNonNull is safe because Task isn't run (or at least it doesn't succeed in taking
               * the lock) until after it's scheduled and the runningTask field is set.
               */
              if (requireNonNull(runningTask).isCancelled()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    		31: {bucketName: bucket, objName: "emptydir/" + object, inputData: data, inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)},
    		// Put the empty object with a trailing slash again (refer to Test case 30), this needs to succeed
    		32: {bucketName: bucket, objName: "emptydir/", inputData: []byte{}, expectedMd5: getMD5Hash([]byte{})},
    
    		// With invalid crc32.
    		33: {
    			bucketName: bucket, objName: object, inputData: []byte("abcd"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

              assertTrue(expectedSuccess);
            } catch (ArithmeticException e) {
              if (expectedSuccess) {
                failFormat(
                    "expected divide(%s, %s, UNNECESSARY) to succeed; got ArithmeticException", p, q);
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testZeroDivIsAlwaysZero() {
        for (long q : NONZERO_LONG_CANDIDATES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

        checkArgument(
            bytes.length == 4,
            "Byte array has invalid length for an IPv4 address: %s != 4.",
            bytes.length);
    
        // Given a 4-byte array, this cast should always succeed.
        return (Inet4Address) bytesToInetAddress(bytes, null);
      }
    
      /**
       * Returns the {@link InetAddress} having the given string representation.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. src/bufio/bufio.go

    }
    
    // Discard skips the next n bytes, returning the number of bytes discarded.
    //
    // If Discard skips fewer than n bytes, it also returns an error.
    // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
    // reading from the underlying io.Reader.
    func (b *Reader) Discard(n int) (discarded int, err error) {
    	if n < 0 {
    		return 0, ErrNegativeCount
    	}
    	if n == 0 {
    		return
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  6. internal/config/config.go

    // is set.
    func (c Config) getTargetKVS(subSys, target string, redactSecrets bool) KVS {
    	store, ok := c[subSys]
    	if !ok {
    		return nil
    	}
    
    	// Lookup will succeed, because this function only works with valid subSys
    	// values.
    	resultKVS := make([]KV, 0, len(store[target]))
    	hkvs := HelpSubSysMap[subSys]
    	for _, kv := range store[target] {
    		hkv, _ := hkvs.Lookup(kv.Key)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	tmpPart := fmt.Sprintf("%sx%d", mustGetUUID(), time.Now().UnixNano())
    	tmpPartPath := pathJoin(tmpPart, partSuffix)
    
    	// Delete the temporary object part. If PutObjectPart succeeds there would be nothing to delete.
    	defer func() {
    		if countOnlineDisks(onlineDisks) != len(onlineDisks) {
    			er.deleteAll(context.Background(), minioMetaTmpBucket, tmpPart)
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle_test.go

    		                          </Rule>
    		                          </LifecycleConfiguration>`))
    	lc, err := ParseLifecycleConfigWithID(r)
    	if err != nil {
    		t.Fatalf("Expected parsing to succeed but failed with %v", err)
    	}
    	for _, rule := range lc.Rules {
    		if rule.ID == "" {
    			t.Fatalf("Expected all rules to have a unique id assigned %#v", rule)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    // most likely need to call `TF_FinishOperation` instead.
    TF_CAPI_EXPORT extern TF_Operation* TF_FinishOperationLocked(
        TF_OperationDescription* desc, TF_Status* status);
    
    // If this function succeeds:
    //   * *status is set to an OK value,
    //   * a TF_Operation is added to the graph,
    //   * a non-null value pointing to the added operation is returned --
    //     this value is valid until the underlying graph is deleted.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

        checkArgument(
            bytes.length == 4,
            "Byte array has invalid length for an IPv4 address: %s != 4.",
            bytes.length);
    
        // Given a 4-byte array, this cast should always succeed.
        return (Inet4Address) bytesToInetAddress(bytes, null);
      }
    
      /**
       * Returns the {@link InetAddress} having the given string representation.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top