Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3881 - 3890 of 7,014 for _return (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

          }
        } else {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            sort(copy);
            dummy += ImmutableList.copyOf(copy).get(0);
          }
        }
        return dummy;
      }
    
      @Benchmark
      int ordering(int reps) {
        int dummy = 0;
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            dummy += ORDERING.sortedCopy(input).get(0);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/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)
  3. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

          charset = Charsets.UTF_8
          finalContentType = "$this; charset=utf-8".toMediaTypeOrNull()
        } else {
          charset = resolvedCharset
        }
      }
      return charset to finalContentType
    }
    
    internal fun MediaType?.charsetOrUtf8(): Charset {
      return this?.charset() ?: Charsets.UTF_8
    }
    
    internal val Response.connection: RealConnection
      get() = this.exchange!!.connection
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/clioptions/central.go

    func (o *CentralControlPlaneOptions) ValidateControlPlaneFlags() error {
    	if o.Xds != "" && o.XdsPodLabel != "" {
    		return fmt.Errorf("either --xds-address or --xds-label, not both")
    	}
    	if o.Plaintext && o.CertDir != "" {
    		return fmt.Errorf("either --plaintext or --cert-dir, not both")
    	}
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

                final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
                return e.getMessage();
            }
        }
    
        public long getExpiry() {
            return expiry;
        }
    
        public PurgeThumbnailJob expiry(final long expiry) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. docs_src/dependency_testing/tutorial001.py

        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. docs_src/dependency_testing/tutorial001_an_py310.py

        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

                if (!isIncubating((JApiHasAnnotations) member)) {
                    return null;
                }
                if (member instanceof JApiMethod && isOverride((JApiMethod) member)) {
                    return null;
                }
                return Violation.info(member, "New public API in " + getCurrentVersion() + " (@Incubating)");
            }
            return null;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      private static <T extends @Nullable Object> Iterable<T> iterable(T... elements) {
        final List<T> list = asList(elements);
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return list.iterator();
          }
        };
      }
    
      public void test_contains_null_set_yes() {
        Iterable<@Nullable String> set = newHashSet("a", null, "b");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            public String getQuery() {
                return null;
            }
    
            @Override
            public Map<String, String[]> getFields() {
                return null;
            }
    
            @Override
            public Map<String, String[]> getConditions() {
                return null;
            }
    
            @Override
            public String[] getLanguages() {
                return null;
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top