Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2151 - 2160 of 3,237 for get2 (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

              }
            });
      }
    
      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

        };
    
        abstract Object operate(Stream<?> stream);
      }
    
      @Param private Operation operation;
    
      Collection<Object> collection;
    
      @BeforeExperiment
      void setUp() {
        collection = source.supplier.get();
        for (int i = 0; i < size; i++) {
          collection.add(new Object());
        }
      }
    
      @Benchmark
      int runOperation(int reps) {
        int result = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SecurityBlob.java

    
        SecurityBlob () {}
    
    
        SecurityBlob ( byte[] b ) {
            set(b);
        }
    
    
        void set ( byte[] b ) {
            this.b = b == null ? new byte[0] : b;
        }
    
    
        byte[] get () {
            return this.b;
        }
    
    
        int length () {
            if ( this.b == null )
                return 0;
            return this.b.length;
        }
    
    
        /*
         * (non-Javadoc)
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        /**
         * Method addGoal.
         *
         * @param string a string object.
         */
        public void addGoal(String string) {
            getGoals().add(string);
        } // -- void addGoal( String )
    
        /**
         * Get configuration to pass to the goals.
         *
         * @return Object
         */
        public Object getConfiguration() {
            return this.configuration;
        } // -- Object getConfiguration()
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
                            Type returnType = m.getParameterTypes()[0]
                                    .getMethod("get" + entity)
                                    .getGenericReturnType();
                            if (returnType instanceof ParameterizedType) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py

            "username": "foo",
            "email": "******@****.***",
            "full_name": "Grave Dohl",
        }
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py

        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

            if (shouldInclude(taskPath)) {
                action(taskPath, event.result)
            }
        }
    
        protected open fun shouldInclude(taskPath: String): Boolean = parameters.monitoredTaskPaths.get().contains(taskPath)
    
        abstract fun action(taskPath: String, taskResult: TaskOperationResult)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 07:01:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

        ImmutableList<K> keyList = keySet.asList();
        for (int i = 0; i < size(); i++) {
          action.accept(keyList.get(i), valueList.get(i));
        }
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        int index = keySet.indexOf(key);
        return (index == -1) ? null : valueList.get(index);
      }
    
      @Override
      boolean isPartialView() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    logger.debug("HTTP Request: {}", httpRequest.getMethod());
                }
                final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
                final CorsHandler handler = factory.get(origin);
                if (handler != null) {
                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top