Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3871 - 3880 of 7,014 for _return (0.05 sec)

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

              protected void run() throws Exception {}
    
              @Override
              protected ScheduledExecutorService executor() {
                return TestingExecutors.noOpScheduledExecutor();
              }
    
              @Override
              protected String serviceName() {
                return "Foo";
              }
            };
        TimeoutException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tests/test_dependency_overrides.py

    async def common_parameters(q: str, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/main-depends/")
    async def main_depends(commons: dict = Depends(common_parameters)):
        return {"in": "main-depends", "params": commons}
    
    
    @app.get("/decorator-depends/", dependencies=[Depends(common_parameters)])
    async def decorator_depends():
        return {"in": "decorator-depends"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/data-usage-utils.go

    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    		if infos[j].Type == "internal" {
    			return false
    		}
    		return infos[i].Name < infos[j].Name
    	})
    	return infos
    }
    
    func (dui DataUsageInfo) tierMetrics() (metrics []MetricV2) {
    	if dui.TierStats == nil {
    		return nil
    	}
    	// e.g minio_cluster_ilm_transitioned_bytes{tier="S3TIER-1"}=136314880
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. docs_src/path_operation_configuration/tutorial006.py

    app = FastAPI()
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "johndoe"}]
    
    
    @app.get("/elements/", tags=["items"], deprecated=True)
    async def read_elements():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 365 bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
                plugin.setArtifactId(result.getArtifactId());
    
                return plugin;
            } catch (NoPluginFoundForPrefixException e) {
                return null;
            }
        }
    
        public PluginDescriptor getPluginDescriptorForPrefix(String prefix) {
            MavenSession session = legacySupport.getSession();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestCharSink.java

        this.byteSink = new TestByteSink(options);
      }
    
      public String getString() {
        return new String(byteSink.getBytes(), UTF_8);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return byteSink.wasStreamOpened();
      }
    
      @Override
      public boolean wasStreamClosed() {
        return byteSink.wasStreamClosed();
      }
    
      @Override
      public Writer openStream() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/stream/StreamUtil.java

            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTester.java

                  public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
                  }
                });
    
        assertExpectedBytes(readBytes);
      }
    
      public void testHash() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/HttpHeadersTest.java

        if (specialCases.containsKey(constantName)) {
          return specialCases.get(constantName);
        }
        List<String> parts = Lists.newArrayList();
        for (String part : SPLITTER.split(constantName)) {
          if (!uppercaseAcronyms.contains(part)) {
            part = part.charAt(0) + Ascii.toLowerCase(part.substring(1));
          }
          parts.add(part);
        }
        return JOINER.join(parts);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

         *
         * @param request The execution request to populate, must not be {@code null}.
         * @param toolchains The toolchains to copy into the execution request, may be {@code null}.
         * @return The populated execution request, never {@code null}.
         * @throws MavenExecutionRequestPopulationException If the execution request could not be populated.
         * @since 3.3.0
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top