Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 453 for covers (0.07 sec)

  1. tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py

    
    @needs_py310
    def test():
        from docs_src.background_tasks.tutorial002_py310 import app
    
        client = TestClient(app)
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 628 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

    import javax.annotation.CheckForNull;
    
    /**
     * An {@link Escaper} that converts literal text into a format safe for inclusion in a particular
     * context (such as an XML document). Typically (but not always), the inverse process of
     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.convert.TimestampConversionUtil.toCalendar;
    import static org.codelibs.core.convert.TimestampConversionUtil.toDate;
    import static org.codelibs.core.convert.TimestampConversionUtil.toPlainPattern;
    import static org.codelibs.core.convert.TimestampConversionUtil.toSqlTimestamp;
    import static org.hamcrest.CoreMatchers.is;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        throttlePeriodUnit = unit
      }
    
      fun getThrottlePeriod(unit: TimeUnit): Long = unit.convert(throttlePeriodAmount, throttlePeriodUnit)
    
      fun setBodyDelay(
        delay: Long,
        unit: TimeUnit,
      ) = apply {
        bodyDelayAmount = delay
        bodyDelayUnit = unit
      }
    
      fun getBodyDelay(unit: TimeUnit): Long = unit.convert(bodyDelayAmount, bodyDelayUnit)
    
      fun setHeadersDelay(
        delay: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertEquals;
    
    import java.util.Calendar;
    import java.util.Date;
    import java.util.TimeZone;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. internal/config/dns/dns_path.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dns
    
    import (
    	"path"
    	"strings"
    
    	"github.com/miekg/dns"
    )
    
    // msgPath converts a domainname to an etcd path. If s looks like service.staging.skydns.local.,
    // the resulting key will be /skydns/local/skydns/staging/service .
    func msgPath(s, prefix string) string {
    	l := dns.SplitDomainName(s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                    }
                };
            } else {
                return null;
            }
        }
    
        private List<SettingsProblem> convert(List<BuilderProblem> problems) {
            return problems.stream().map(this::convert).toList();
        }
    
        private SettingsProblem convert(BuilderProblem problem) {
            return new DefaultSettingsProblem(
                    problem.getMessage(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

            }
            duplicateHostList.add(duplicateHost);
        }
    
        public String convert(final String url) {
            if (duplicateHostList == null) {
                init();
            }
    
            String newUrl = url;
            for (final DuplicateHost duplicateHost : duplicateHostList) {
                newUrl = duplicateHost.convert(newUrl);
            }
            return newUrl;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. helm/minio/templates/servicemonitor.yaml

    {{- if and .Values.metrics.serviceMonitor.enabled .Values.metrics.serviceMonitor.includeNode }}
    apiVersion: monitoring.coreos.com/v1
    kind: ServiceMonitor
    metadata:
      name: {{ template "minio.fullname" . }}
      {{- if .Values.metrics.serviceMonitor.namespace }}
      namespace: {{ .Values.metrics.serviceMonitor.namespace }}
      {{- end }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/converter/DateConverter.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.DateConversionUtil;
    import org.codelibs.core.convert.StringConversionUtil;
    
    /**
     * 日付用のコンバータです。
     *
     * @author higa
     */
    public class DateConverter implements Converter {
    
        /**
         * 日付のパターンです。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top