Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4721 - 4730 of 7,014 for _return (0.08 sec)

  1. tests/test_security_openid_connect.py

    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tests/test_security_openid_connect_description.py

    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/SmbjEngine.java

            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
        public String generateType3Msg(final String arg0, final String arg1, final String arg2, final String arg3, final String arg4)
                throws NTLMEngineException {
            // TODO Auto-generated method stub
            return null;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    this.updateElement();
    
                this.updateMonthsInView();
            },
    
            isInvalidDate: function() {
                return false;
            },
    
            isCustomDate: function() {
                return false;
            },
    
            updateView: function() {
                if (this.timePicker) {
                    this.renderTimePicker('left');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  5. internal/config/certs_test.go

    	var tmpfile *os.File
    
    	if tmpfile, err = os.CreateTemp("", prefix); err != nil {
    		return tempFile, err
    	}
    
    	if _, err = tmpfile.Write([]byte(content)); err != nil {
    		return tempFile, err
    	}
    
    	if err = tmpfile.Close(); err != nil {
    		return tempFile, err
    	}
    
    	tempFile = tmpfile.Name()
    	return tempFile, err
    }
    
    func TestParsePublicCertFile(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i2, s1, s2, i3, s1, s2)
            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.DataService#getCount(java.lang.String)
         */
        @Override
        public int getCount(final String sessionId) {
            return dataHelper.getAccessResultMap(sessionId).size();
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.DataService#delete(java.lang.String)
         */
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("LinkedHashMultimap")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .named("CompactHashMap")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        final String expected = "MyCallableString";
        Callable<String> callable =
            new Callable<String>() {
              @Override
              public String call() throws Exception {
                return expected;
              }
            };
    
        AsyncCallable<String> asyncCallable =
            Callables.asAsyncCallable(callable, newDirectExecutorService());
    
        ListenableFuture<String> future = asyncCallable.call();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top