Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 971 for Helper (0.05 seconds)

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

    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

    import org.opensearch.action.admin.indices.create.CreateIndexResponse;
    import org.opensearch.transport.client.Client;
    
    /**
     * Test class for refactoring changes made to Suggester class.
     *
     * Tests cover:
     * - Index alias helper method (getIndicesForAlias)
     * - Edge cases for switchIndex with EXPECTED_INDEX_COUNT
     * - Index lifecycle with refactored methods
     */
    public class SuggesterRefactoringTest {
        static OpenSearchRunner runner;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Comparators.java

        checkNotNull(valueComparator);
        return Comparator.<Optional<T>, @Nullable T>comparing(
            o -> orElseNull(o), Comparator.nullsLast(valueComparator));
      }
    
      @IgnoreJRERequirement // helper for emptiesFirst+emptiesLast
      /*
       * If we make these calls inline inside the lambda inside emptiesFirst()/emptiesLast(), we get an
       * Animal Sniffer error, despite the @IgnoreJRERequirement annotation there. For details, see
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

     *     dependencies = getProject().configurations.compile
     *   }
     * </pre>
     * <p>
     * Every jar must have a {@code .sha1} file in the licenses dir. These can be managed
     * automatically using the {@code updateShas} helper task that is created along
     * with this task. It will add {@code .sha1} files for new jars that are in dependencies
     * and remove old {@code .sha1} files that are no longer needed.
     * <p>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.app.web.base.login.FessLoginAssist;
    import org.codelibs.fess.entity.FacetQueryView;
    import org.codelibs.fess.helper.ViewHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.di.util.LdiURLUtil;
    import org.lastaflute.web.LastaWebKey;
    import org.lastaflute.web.util.LaRequestUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

      private var lazyCacheControl: CacheControl? = null
    
      val isHttps: Boolean
        get() = url.isHttps
    
      /**
       * Constructs a new request.
       *
       * Use [Builder] for more fluent construction, including helper methods for various HTTP methods.
       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                assertEquals(200, response.getHttpStatusCode());
                assertNotNull(response.getContentAsString());
            }
        }
    
        // --- GZIP response tests ---
    
        /**
         * Helper to GZIP-compress a string.
         */
        private byte[] gzipCompress(String text) throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

            void dispose_nullContext_noop() throws Exception {
                setPrivateField(ctx, "gssContext", null);
                assertDoesNotThrow(() -> ctx.dispose());
            }
        }
    
        // Helper to build a minimal exported name token understood by MIEName(byte[])
        // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. cmd/utils.go

    	}
    	return object
    }
    
    func isDirObject(object string) bool {
    	if obj := encodeDirObject(object); obj != object {
    		object = obj
    	}
    	return HasSuffix(object, globalDirSuffix)
    }
    
    // Helper method to return total number of nodes in cluster
    func totalNodeCount() int {
    	totalNodesCount := len(globalEndpoints.Hostnames())
    	if totalNodesCount == 0 {
    		totalNodesCount = 1 // For standalone erasure coding
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  10. cmd/signature-v4.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package cmd This file implements helper functions to validate AWS
    // Signature Version '4' authorization header.
    //
    // This package provides comprehensive helpers for following signature
    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
Back to Top