Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,717 for pead (0.19 sec)

  1. tests/test_tutorial/test_custom_response/test_tutorial004.py

    from fastapi.testclient import TestClient
    
    from docs_src.custom_response.tutorial004 import app
    
    client = TestClient(app)
    
    
    html_contents = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    
    
    def test_get_custom_response():
        response = client.get("/items/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            int start = dstIndex;
    
            dataOffset = (dstIndex - headerStart) + 26; // 26 = off from here to pad
    
    pad = ( dataOffset - headerStart ) % 4;
    pad = pad == 0 ? 0 : 4 - pad;
    dataOffset += pad;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeInt4( offset, dst, dstIndex );
            dstIndex += 4;
            for( int i = 0; i < 4; i++ ) {
                dst[dstIndex++] = (byte)0xFF;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial002.py

    from fastapi import FastAPI
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=HTMLResponse)
    async def read_items():
        return """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 352 bytes
    - Viewed (0)
  4. .github/workflows/gitstream.yml

        steps:
          - name: Evaluate Rules
            uses: linear-b/gitstream-github-action@v1
            env:
              REPO_READ_TOKEN: ${{ secrets.GITSTREAM_TESTING_TOKEN }}
            id: rules-engine
            with:
              full_repository: ${{ github.event.inputs.full_repository }}
              head_ref: ${{ github.event.inputs.head_ref }}
              base_ref: ${{ github.event.inputs.base_ref }}
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 19 12:22:37 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        public void clear() {
          ReferenceEntry<K, V> e = head.getNextInWriteQueue();
          while (e != head) {
            ReferenceEntry<K, V> next = e.getNextInWriteQueue();
            nullifyWriteOrder(e);
            e = next;
          }
    
          head.setNextInWriteQueue(head);
          head.setPreviousInWriteQueue(head);
        }
    
        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                                bufDataStart + dataDisplacement, dataCount );
                bufferIndex += dataCount;
            }
    
            /* Check to see if the entire transaction has been
             * read. If so call the read methods.
             */
    
            if( !parametersDone &&
                    ( parameterDisplacement + parameterCount ) == totalParameterCount) {
                parametersDone = true;
            }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/error/admin_error.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title><<la:message ke="labels.admin_brand_title"/> | <<la:message ke="labels.error_title"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 12:21:50 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        }
    
        public void execute() {
          RunnableExecutorPair stack;
          do {
            stack = head;
            if (stack == null) {
              // If head == null then execute() has been called so we should just return
              return;
            }
            // try to swap null into head.
          } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                appendFileContentsTo(document.head(), "<script type='text/javascript'>", jquery, "</script>");
            }
            appendFileContentsTo(document.head(), "<script type='text/javascript'>", releaseNotesJavascript, "</script>");
        }
    
        private void addCssToHead(Document document) {
            appendFileContentsTo(document.head(), "<style>", baseCss, "</style>");
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Jan 26 13:00:32 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
          plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE));
      ops->read_only_memory_region_ops->cleanup =
          tf_read_only_memory_region::Cleanup;
      ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data;
      ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top