- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 543 for Center (0.25 seconds)
-
android/guava/src/com/google/common/collect/GeneralRange.java
* Range}, this allows the use of an arbitrary comparator. This is designed for use in the * implementation of subcollections of sorted collection types. * * <p>Whenever possible, use {@code Range} instead, which is better supported. * * @author Louis Wasserman */ @GwtCompatible final class GeneralRange<T extends @Nullable Object> implements Serializable { /** Converts a Range to a GeneralRange. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0; // Estimate compression ratio based on entropy // Lower entropy = better compression return 0.3 + (entropy * 0.6); // Range from 30% to 90% } @Override public int getMinCompressionSize() { return MIN_COMPRESSION_SIZE; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* if (forceCacheResponse.code() != 504) { * // The resource was cached! Show it. * } else { * // The resource was not cached. * } * ``` * * This technique works even better in situations where a stale response is better than no response. * To permit stale cached responses, use the `max-stale` directive with the maximum staleness in * seconds: * * ```java * Request request = new Request.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
docs/en/docs/deployment/concepts.md
If you are paying for 3 servers but you are using only a little bit of their RAM and CPU, you are probably **wasting money** 💸, and probably **wasting server electric power** 🌎, etc. In that case, it could be better to have only 2 servers and use a higher percentage of their resources (CPU, memory, disk, network bandwidth, etc).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 18.5K bytes - Click Count (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
* <li>isImplicit: Whether to use implicit SSL/TLS encryption.</li> * <li>trustManager: The trust manager to use for SSL/TLS connections ("all", "valid", or "none").</li> * <li>enterLocalPassiveMode: Whether to enter local passive mode.</li> * <li>ftpAuthentications: An array of {@link FtpAuthentication} objects for different FTP URLs.</li> * </ul> * * <p>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
"<link href=\"https://fonts.cdnfonts.com/css/dejavu-sans-mono\" rel=\"stylesheet\">" ); // TODO: This would be better to model as separate options options.addStringOption("Xdoclint:syntax,html", "-quiet"); // TODO: This breaks the providerCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 01 05:52:34 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return !disjoint(a, b); } private static Method extractMethod(Test test) { if (test instanceof AbstractTester) { AbstractTester<?> tester = (AbstractTester<?>) test; return getMethod(tester.getClass(), tester.getTestMethodName()); } else if (test instanceof TestCase) { TestCase testCase = (TestCase) test; return getMethod(testCase.getClass(), testCase.getName());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 10.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
} /* * If this project builds a shadow JAR than any unit tests should test against that artifact instead of * compiled class output and dependency jars. This better emulates the runtime environment of consumers. */ project.getPluginManager().withPlugin("com.github.johnrengelman.shadow", p -> { if (test.getName().equals(JavaPlugin.TEST_TASK_NAME)) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 22:14:49 GMT 2021 - 10.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
if (config.isEncryptionEnabled()) { // Build cipher list based on AES-256 support List<Integer> ciphers = new ArrayList<>(); // Prefer GCM over CCM for better performance if (config.isAES256Enabled()) { ciphers.add(EncryptionNegotiateContext.CIPHER_AES256_GCM); ciphers.add(EncryptionNegotiateContext.CIPHER_AES256_CCM);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection). // For now, we test methods that don't require deep mocks. return new SmbFile(url, auth); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0)