Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,560 for RESULT (0.06 sec)

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

        val result = mutableListOf<HeldCertificate>()
        for (i in 1..length) {
          result.add(
            0,
            HeldCertificate.Builder()
              .signedBy(if (result.isNotEmpty()) result[0] else null)
              .certificateAuthority(length - i)
              .serialNumber(i.toLong())
              .build(),
          )
        }
        return result
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils_test.go

    	}
    
    	// Tests generated values from url encoded name.
    	for i, testCase := range testCases {
    		result := signV4TrimAll(testCase.inputStr)
    		if testCase.result != result {
    			t.Errorf("Test %d: Expected signV4TrimAll result to be \"%s\", but found it to be \"%s\" instead", i+1, testCase.result, result)
    		}
    	}
    }
    
    // Test getContentSha256Cksum
    func TestGetContentSha256Cksum(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. cmd/object-api-deleteobject_test.go

    			continue
    		}
    
    		for idx := range result.Objects {
    			if result.Objects[idx].Name != testCase.objectsAfterDelete[idx] {
    				t.Errorf("Test %d: %s: Unexpected object found after delete, found = `%v`", i+1, instanceType, result.Objects[idx].Name)
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

        internal fun readInt(source: BufferedSource): Int {
          try {
            val result = source.readDecimalLong()
            val line = source.readUtf8LineStrict()
            if (result < 0L || result > Integer.MAX_VALUE || line.isNotEmpty()) {
              throw IOException("expected an int but was \"$result$line\"")
            }
            return result.toInt()
          } catch (e: NumberFormatException) {
            throw IOException(e.message)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/update_test.go

    				t.Errorf("case %d: result: expected: %v, got: %x", i+1, testCase.expectedSha256hex, sha256Sum)
    			}
    			if !testCase.expectedResult.Equal(result) {
    				t.Errorf("case %d: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    			}
    			if testCase.expectedReleaseInfo != releaseInfo {
    				t.Errorf("case %d: result: expected: %v, got: %v", i+1, testCase.expectedReleaseInfo, releaseInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        arraycopy(first, 0, result, 0, first.length);
        arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    boolean result = propValue.equals(sysValue);
    
                    if (reverseValue) {
                        return !result;
                    } else {
                        return result;
                    }
                } else {
                    boolean result = sysValue != null && !sysValue.isEmpty();
    
                    if (reverseName) {
                        return !result;
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        } catch (ae: AssertionError) {
          result += ae
        }
    
        if (result != null) throw result
      }
    
      private fun releaseClient() {
        testClient?.dispatcher?.executorService?.shutdown()
      }
    
      @SuppressLint("NewApi")
      private fun ExtensionContext.isFlaky(): Boolean {
        return (testMethod.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true) ||
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

            }).orElse(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsFailedToStartJob(GLOBAL, id);
                });
            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        // POST /api/admin/scheduler/{id}/stop
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> post$stop(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            config.getConfigurations().clear();
    
            Map<String, PromptResultItemIF> result = prompt.prompt(
                    context.header, dispatcherPrompt(prompt.getPromptBuilder()).build());
            if (result == null) {
                throw new InterruptedException();
            }
            if (NONE.equals(result.get("defaultDispatcher").getResult())) {
                context.terminal
                        .writer()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top