Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 2,206 for setI (0.02 sec)

  1. tests/test_dependency_contextvars.py

        "legacy_request_state_context_var", default=None
    )
    
    app = FastAPI()
    
    
    async def set_up_request_state_dependency():
        request_state = {"user": "deadpond"}
        contextvar_token = legacy_request_state_context_var.set(request_state)
        yield request_state
        legacy_request_state_context_var.reset(contextvar_token)
    
    
    @app.middleware("http")
    async def custom_middleware(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/setup.packages.sh

    # ==============================================================================
    #
    # setup.packages.sh: Given a list of Ubuntu packages, install them and clean up.
    # Usage: setup.packages.sh <package_list.txt>
    set -e
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    apt-get update
    # Remove commented lines and blank lines
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. bin/update_ztunnel.sh

    # 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.
    
    set -e
    
    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 11 17:50:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

                assert (
                    field_info.default is Undefined or field_info.default is RequiredParam
                ), (
                    f"`{field_info.__class__.__name__}` default value cannot be set in"
                    f" `Annotated` for {param_name!r}. Set the default value with `=` instead."
                )
                if value is not inspect.Signature.empty:
                    assert not is_path_param, "Path parameters cannot have default values"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. .github/workflows/check-bad-merge.yml

        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 17
            uses: actions/setup-java@v4
            with:
              distribution: 'temurin'
              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.URL;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base test case class for I/O tests.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

    import com.google.common.collect.testing.TestSubjectGenerator;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Derived suite generators for Guava collection interfaces, split out of the suite builders so that
     * they are available to GWT.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                future.set(null);
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.awaitDone(future);
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/generic-handlers_test.go

    }
    
    func generateHeader(size, usersize int) http.Header {
    	header := http.Header{}
    	for i := 0; i < size; i++ {
    		header.Set(strconv.Itoa(i), "")
    	}
    	userlength := 0
    	for i := 0; userlength < usersize; i++ {
    		userlength += len(userMetadataKeyPrefixes[0] + strconv.Itoa(i))
    		header.Set(userMetadataKeyPrefixes[0]+strconv.Itoa(i), "")
    	}
    	return header
    }
    
    func TestIsHTTPHeaderSizeTooLarge(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Set;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.internal.SmbNegotiationRequest;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
Back to top