Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 599 for msgs (0.02 seconds)

  1. docs_src/app_testing/tutorial001_py310.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 334 bytes
    - Click Count (0)
  2. tests/test_regex_deprecated_params.py

                                },
                                "msg": {"type": "string", "title": "Message"},
                                "type": {"type": "string", "title": "Error Type"},
                            },
                            "type": "object",
                            "required": ["loc", "msg", "type"],
                            "title": "ValidationError",
                        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/http/NtlmSsp.java

            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                final byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(type1, challenge, null);
                    msg = Base64.encode(type2.toByteArray());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. internal/logger/logrotate.go

    		}
    		if _, err := io.Copy(w.f, r); err != nil {
    			msg := fmt.Sprintf("unable to write to log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/reporting/MavenReportException.java

     *
     */
    @Deprecated
    public class MavenReportException extends Exception {
        public MavenReportException(String msg) {
            super(msg);
        }
    
        public MavenReportException(String msg, Exception e) {
            super(msg, e);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

                String msg = "The expression ${" + expression + "} is deprecated.";
                if (newPrefix != null && !newPrefix.isEmpty()) {
                    msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
                }
                problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.V20).setMessage(msg));
            }
    
            return value;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

       */
      public void testBadArguments_badchars() {
        String msg = "Alphanumeric characters are always 'safe' and should not be explicitly specified";
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false));
        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      public void testBadArguments_plusforspace() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

                    } catch (OpenSearchStatusException | IllegalStateException e) {
                        final String msg = e.getMessage();
                        if (StringUtil.isNotEmpty(msg) && msg.contains("index.analyze.max_token_count")) {
                            logger.warn("Failed to parse document (token count exceeded): index={}, message={}", index, msg);
                            return Stream.empty();
                        }
                        throw e;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

                    if (foreignPropertyName == null) {
                        String msg = "The foreignPropertyName of the query should not be null:";
                        msg = msg + " query=" + query;
                        throw new IllegalStateException(msg);
                    }
                    sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + ".");
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

                    if (foreignPropertyName == null) {
                        String msg = "The foreignPropertyName of the query should not be null:";
                        msg = msg + " query=" + query;
                        throw new IllegalStateException(msg);
                    }
                    sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + ".");
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
Back to Top