Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 580 for succeed (0.09 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

              body = "Redirecting to /" + (i + 1),
            ),
          )
        }
        server.enqueue(
          MockResponse(body = "Success!"),
        )
        val response = getResponse(newRequest("/0"))
        assertContent("Success!", response)
        assertThat(response.request.url)
          .isEqualTo(server.url("/20"))
      }
    
      @Test
      fun doesNotFollow21Redirects() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // - Warn: This will send a warning via the standard warning response
      // header for each unknown field that is dropped from the object, and
      // for each duplicate field that is encountered. The request will
      // still succeed if there are no other errors, and will only persist
      // the last of any duplicate fields. This is the default in v1.23+
      // - Strict: This will fail the request with a BadRequest error if
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    // Converts untyped value into int. The bool return implies success -
    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    	bytes, _ := v.ToBytes()
    	i, err := strconv.ParseInt(strings.TrimSpace(string(bytes)), 10, 64)
    	return i, err == nil
    }
    
    // Converts untyped value into float. The bool return implies success
    // - it returns false only if there is a conversion failure.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. cmd/object-handlers_test.go

    	}
    	apiRouter.ServeHTTP(rec, req)
    	if rec.Code != http.StatusOK {
    		t.Errorf("Test %d %s expected to succeed but failed with HTTP status code %d",
    			1, instanceType, rec.Code)
    	}
    }
    
    // TestAPIListObjectPartsHandler - Tests validate the response of ListObjectParts HTTP handler
    //
    //	for variety of success/failure cases.
    func TestAPIListObjectPartsHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/io/MoreFiles.java

          return;
        }
    
        // Check if the parent is a directory first because createDirectories will fail if the parent
        // exists and is a symlink to a directory... we'd like for this to succeed in that case.
        // (I'm kind of surprised that createDirectories would fail in that case; doesn't seem like
        // what you'd want to happen.)
        if (!Files.isDirectory(parent)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top