Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,921 for data2 (0.03 sec)

  1. docs_src/security/tutorial004_an_py39.py

        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/writer_test.go

    			unexpected: secretItemColumns,
    		},
    		{
    			name:   "test tabular output with a single secret item",
    			format: TABULAR,
    			items: []SecretItem{
    				{
    					Name:        "olinger",
    					Data:        "certdata",
    					Source:      "source",
    					Destination: "destination",
    					SecretMeta: SecretMeta{
    						Valid:        true,
    						SerialNumber: "serial_number",
    						NotAfter:     "expires",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func (z *ZtunnelConnection) sendMsgAndWaitForAck(msg *zdsapi.WorkloadRequest, fd *int) (*zdsapi.WorkloadResponse, error) {
    	data, err := proto.Marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return z.sendDataAndWaitForAck(data, fd)
    }
    
    func (z *ZtunnelConnection) sendDataAndWaitForAck(data []byte, fd *int) (*zdsapi.WorkloadResponse, error) {
    	var rights []byte
    	if fd != nil {
    		rights = unix.UnixRights(*fd)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/badword/admin_badword.jsp

                                                <c:forEach var="data" varStatus="s"
                                                           items="${badWordItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/badword/details/4/${f:u(data.id)}">
                                                        <td>${f:h(data.suggestWord)}</td>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Base64.java

        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(byte[] bytes) {
            int length = bytes.length;
            if (length == 0) return "";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  6. internal/ioutil/hardlimitreader.go

    var ErrOverread = errors.New("input provided more bytes than specified")
    
    // HardLimitReader returns a Reader that reads from r
    // but returns an error if the source provides more data than allowed.
    // This means the source *will* be overread unless EOF is returned prior.
    // The underlying implementation is a *HardLimitedReader.
    // This will ensure that at most n bytes are returned and EOF is reached.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        @VisibleForTesting
        data class AcceptedApiChange(
            val type: String?,
            val member: String?,
            val acceptation: String?,
            val changes: List<String>?
        ) {
            override fun toString(): String = "Type: '$type', Member: '$member'"
        }
    
        @VisibleForTesting
        data class AcceptedApiChanges(
            val acceptedApiChanges: List<AcceptedApiChange>?
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals("htmlTransformer", htmlTransformer.getName());
        }
    
        public void test_transform() {
            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/");
            responseData.setResponseBody(data);
            responseData.setCharSet("ISO-8859-1");
            final ResultData resultData = htmlTransformer.transform(responseData);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. docs/sts/web-identity.py

        if error:
            return "Error: " + error
    
        authorization_code = request.args.get('code')
    
        data = {'grant_type': 'authorization_code',
                'code': authorization_code, 'redirect_uri': callback_uri}
        id_token_response = requests.post(
            token_url, data=data, verify=False,
            allow_redirects=False, auth=(client_id, client_secret))
    
        print('body: ' + id_token_response.text)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py

    client = TestClient(app)
    
    
    def test_extra_types():
        item_id = "ff97dd87-a4a5-4a12-b412-cde99f33e00e"
        data = {
            "start_datetime": "2018-12-22T14:00:00+00:00",
            "end_datetime": "2018-12-24T15:00:00+00:00",
            "repeat_at": "15:30:00",
            "process_after": 300,
        }
        expected_response = data.copy()
        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top