Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4301 - 4310 of 6,918 for RETURN (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

              else -> Type.Unknown
            }
    
        override fun toString(): String {
          return if (param != null) {
            message + "\n" + param
          } else {
            message
          }
        }
      }
    
      private fun quietDebug(message: JsseDebugMessage) {
        if (message.message.startsWith("Ignore")) {
          return
        }
    
        when (message.type) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/TestLogHandler.kt

        description: Description,
      ): Statement {
        return object : Statement() {
          override fun evaluate() {
            beforeEach(null)
            try {
              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
      }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/iam/identity-manager-plugin.go

    	if token == "" {
    		writeErrorResponse(w, errors.New("token parameter not given"))
    		return
    	}
    
    	rsp, ok := tokens[token]
    	if !ok {
    		w.WriteHeader(http.StatusForbidden)
    		return
    	}
    
    	fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User)
    
    	w.WriteHeader(http.StatusOK)
    	json.NewEncoder(w).Encode(rsp)
    	return
    }
    
    func main() {
    	http.HandleFunc("/", mainHandler)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         * @param type
         * @param requirements
         * @return the selected {@link Toolchain}s
         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
        List<Toolchain> getToolchains(@Nonnull Session session, String type, Map<String, String> requirements);
    
        /**
         *
         * @param session
         * @param type
         * @return the selected {@link Toolchain}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

         * @return The version result, never {@code null}.
         * @throws VersionResolverException If the metaversion could not be resolved.
         */
        @Nonnull
        default VersionResolverResult resolve(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
            return resolve(VersionResolverRequest.build(session, artifactCoordinates));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
            if (outputStream instanceof PrintStream ps) {
                return ps;
            }
            return new PrintStream(outputStream);
        }
    
        //
        // These are the only methods we need in our primordial logger
        //
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tests/test_regex_deprecated_params.py

            async def read_items(
                q: Annotated[str | None, Query(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_query_params_str_validations_no_query():
        client = get_client()
        response = client.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. bin/retry.sh

    # to 5 times.
    
    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    function retry {
      local tmpFile
      tmpFile=$(mktemp)
      trap 'rm -f "${tmpFile}"' EXIT
    
      local failureRegex="$1"
      shift
      local n=1
      local max=5
      while true; do
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 11 16:08:08 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

        }
    
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
        //
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asHtml(path_AdminGeneral_AdminGeneralJsp).useForm(EditForm.class, setup -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

                .createTestSuite());
        suite.addTestSuite(HashMultisetTest.class);
        return suite;
      }
    
      private static TestStringMultisetGenerator hashMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return HashMultiset.create(asList(elements));
          }
        };
      }
    
      public void testCreate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top