Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 568 for jorn (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      }
    
      /**
       * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link
       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      void awaitTermination(Thread t, long timeoutMillis) {
        try {
          t.join(timeoutMillis);
        } catch (InterruptedException ie) {
          threadUnexpectedException(ie);
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. internal/http/dial_linux.go

    			// the TCP fast open connect. This feature is supported
    			// since Linux 4.11.
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_FASTOPEN_CONNECT, 1)
    
    			// Enable TCP quick ACK, John Nagle says
    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			/// Enable keep-alive
    			{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tests/test_sub_callbacks.py

    
    app.include_router(subrouter, callbacks=events_callback_router.routes)
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.post(
            "/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Invoice received"}
    
    
    def test_openapi_schema():
        with client:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. internal/config/identity/openid/provider/keycloak.go

    func (k *KeycloakProvider) LookupUser(userid string) (User, error) {
    	req, err := http.NewRequest(http.MethodGet, k.adminURL, nil)
    	if err != nil {
    		return User{}, err
    	}
    	req.URL.Path = path.Join(req.URL.Path, "realms", k.realm, "users", userid)
    
    	k.Lock()
    	accessToken := k.accessToken
    	k.Unlock()
    	if accessToken.AccessToken == "" {
    		return User{}, ErrAccessTokenExpired
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final Path confPath = getConfPath(names);
            if (Files.exists(confPath)) {
                return confPath;
            }
            return org.codelibs.core.io.ResourceUtil.getResourceAsFile(String.join("/", names)).toPath();
        }
    
        public static Path getClassesPath(final String... names) {
            return getPath("WEB-INF/", "classes", names);
        }
    
        public static Path getOrigPath(final String... names) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

            }
        }
    
        protected int badGoalsErrorMessage(String message, LocalContext context) {
            context.terminal.writer().println(message);
            context.terminal.writer().println("Supported goals are: " + String.join(", ", context.goals.keySet()));
            context.terminal.writer().println("Use -h to display help.");
            return BAD_OPERATION;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. schema/utils.go

    					names[i] = ""
    				} else {
    					break
    				}
    			}
    		}
    
    		values := strings.Split(names[j], ":")
    		k := strings.TrimSpace(strings.ToUpper(values[0]))
    
    		if len(values) >= 2 {
    			settings[k] = strings.Join(values[1:], ":")
    		} else if k != "" {
    			settings[k] = k
    		}
    	}
    
    	return settings
    }
    
    func toColumns(val string) (results []string) {
    	if val != "" {
    		for _, v := range strings.Split(val, ",") {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial003_an_py310.py

        response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        }
    
    
    @needs_py310
    def test_incorrect_token(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial003_py310.py

        response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        }
    
    
    @needs_py310
    def test_incorrect_token(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", (float) 1, (float) 2)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", (float) 1, (float) 2, (float) 3)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top