Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1901 - 1910 of 2,437 for context (0.05 sec)

  1. internal/grid/types.go

    }
    
    // NewBytesWith returns a new Bytes with the provided content.
    // When sent as a parameter, the caller gives up ownership of the byte slice.
    // When returned as response, the handler also gives up ownership of the byte slice.
    func NewBytesWith(b []byte) *Bytes {
    	bb := Bytes(b)
    	return &bb
    }
    
    // NewBytesWithCopyOf returns a new byte slice with a copy of the provided content.
    func NewBytesWithCopyOf(b []byte) *Bytes {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. tests/update_test.go

    	owner := TokenOwner{
    		Name:  "user",
    		Token: Token{Content: "token"},
    	}
    	o1, err := saveTokenOwner(&owner)
    	if err != nil {
    		t.Errorf("failed to save token owner, got error: %v", err)
    	}
    	if o1.Name != "user_name" {
    		t.Errorf(`owner name should be "user_name", but got: "%s"`, o1.Name)
    	}
    	if o1.Token.Content != "token_encrypted" {
    		t.Errorf(`token content should be "token_encrypted", but got: "%s"`, o1.Token.Content)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py

                        "operationId": "read_main_app_get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                    }
                }
            },
            "servers": [{"url": "/api/v1"}],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. internal/config/browser/help.go

    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         browserCSPPolicy,
    			Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         browserHSTSSeconds,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 01 16:36:33 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            )
            assertThat(networkRequest.header("Accept-Encoding")).isNotNull()
    
            // The network response also has everything, including the raw gzipped content.
            val networkResponse = chain.proceed(networkRequest)
            assertThat(networkResponse.header("Content-Encoding")).isEqualTo("gzip")
            networkResponse
          }
        client =
          client.newBuilder()
            .addNetworkInterceptor(interceptor)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/user/admin_user_details.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="user"/>
            <jsp:param name="menuType" value="user"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 17.8K bytes
    - Viewed (0)
  7. docs_src/additional_status_codes/tutorial001_py310.py

            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 646 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

        return app
    
    
    @needs_py39
    def test_main(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    @needs_py39
    def test_websocket_with_cookie(app: FastAPI):
        client = TestClient(app, cookies={"session": "fakesession"})
        with pytest.raises(WebSocketDisconnect):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

            }
            repoDir.get().asFileTree.matching { include("**/*.module") }.forEach {
                val content = it.readText()
                    .replace("\"buildId\":\\s+\"\\w+\"".toRegex(), "\"buildId\": \"\"")
                    .replace("\"size\":\\s+\\d+".toRegex(), "\"size\": 0")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                    }
                }
                // parse a content
                parser.parse(is, handler);
    
                return handler.getDataMap();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not create a data map from XML content.", e);
            }
        }
    
        private static class DocHandler extends DefaultHandler {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top