Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,253 for functions (0.23 seconds)

  1. .teamcity/src/main/kotlin/model/BucketExtensions.kt

     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
     * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
     * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. buildscripts/checkdeps.sh

    	PHYS_DIR=$(pwd -P)
    	RESULT=$PHYS_DIR/$TARGET_FILE
    	echo $RESULT
    }
    
    ## FIXME:
    ## In OSX, 'sort -V' option does not exist, hence
    ## we have our own version compare function.
    ## Once OSX has the option, below function is good enough.
    ##
    ## check_minimum_version() {
    ##     versions=($(echo -e "$1\n$2" | sort -V))
    ##     return [ "$1" == "${versions[0]}" ]
    ## }
    ##
    check_minimum_version() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. cmd/api-utils.go

    	if strings.ToLower(encodingType) == "url" {
    		return s3URLEncode(name)
    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. internal/lock/lock_solaris.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lock
    
    import (
    	"os"
    	"syscall"
    )
    
    // lockedOpenFile is an internal function.
    func lockedOpenFile(path string, flag int, perm os.FileMode, rlockType int) (*LockedFile, error) {
    	var lockType int16
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType = syscall.F_RDLCK
    	case syscall.O_WRONLY:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/skip/Skip.java

    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Internal;
    import org.jetbrains.annotations.Nullable;
    
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Function;
    
    /**
     * A {@link RestTestTransform} that injects a skip into a REST test.
     */
    public class Skip implements RestTestTransformGlobalSetup, RestTestTransformByParentObject {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      @Override
      public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
        checkNotNull(function);
        Node<K, V> oldFirst = firstInKeyInsertionOrder;
        clear();
        for (Node<K, V> node = oldFirst; node != null; node = node.nextInKeyInsertionOrder) {
          put(node.key, function.apply(node.key, node.value));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/SuppressSignatureCheck.kt

    import kotlin.annotation.AnnotationTarget.CLASS
    import kotlin.annotation.AnnotationTarget.CONSTRUCTOR
    import kotlin.annotation.AnnotationTarget.FUNCTION
    
    @Retention(BINARY)
    @MustBeDocumented
    @Target(CONSTRUCTOR, CLASS, FUNCTION)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 957 bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

              fileSystem.source(this@asRequestBody).use { source -> sink.writeAll(source) }
            }
          }
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toRequestBody(contentType)",
              imports = ["okhttp3.RequestBody.Companion.toRequestBody"],
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         * This method looks up the user by their code and creates a new favorite log entry
         * using the provided lambda function to populate the favorite log data.
         *
         * @param userCode the unique code identifying the user
         * @param favoriteLogLambda a lambda function that accepts UserInfo and FavoriteLog to populate the favorite log data
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

    import okhttp3.CallEvent.SecureConnectStart
    
    /**
     * This accepts events as function calls on [EventListener], and publishes them as subtypes of
     * [CallEvent].
     */
    class EventListenerAdapter : EventListener() {
      var listeners = listOf<(CallEvent) -> Unit>()
    
      private fun onEvent(listener: CallEvent) {
        for (function in listeners) {
          function(listener)
        }
      }
    
      override fun dispatcherQueueStart(
        call: Call,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top