Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 525 for functions (0.04 seconds)

  1. cmd/api-response_test.go

    			if testCase.expectedLocation != gotLocation {
    				t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation)
    			}
    		})
    	}
    }
    
    // Tests getURLScheme function behavior.
    func TestGetURLScheme(t *testing.T) {
    	tls := false
    	gotScheme := getURLScheme(tls)
    	if gotScheme != httpScheme {
    		t.Errorf("Expected %s, got %s", httpScheme, gotScheme)
    	}
    	tls = true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. internal/mountinfo/mountinfo_linux.go

    // CheckCrossDevice - check if any list of paths has any sub-mounts at /proc/mounts.
    func CheckCrossDevice(absPaths []string) error {
    	return checkCrossDevice(absPaths, procMountsPath)
    }
    
    // Check cross device is an internal function.
    func checkCrossDevice(absPaths []string, mountsPath string) error {
    	mounts, err := readProcMounts(mountsPath)
    	if err != nil {
    		return err
    	}
    	for _, path := range absPaths {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. cmd/data-scanner.go

    	}
    	// Get last healing information
    	err = saveConfig(ctx, objAPI, backgroundHealInfoPath, b)
    	if err != nil {
    		internalLogIf(ctx, err)
    	}
    }
    
    // runDataScanner will start a data scanner.
    // The function will block until the context is canceled.
    // There should only ever be one scanner running per cluster.
    func runDataScanner(ctx context.Context, objAPI ObjectLayer) {
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import java.util.Arrays;
    import java.util.function.Supplier;
    
    import org.apache.maven.api.DependencyScope;
    import org.apache.maven.repository.internal.artifact.FatArtifactTraverser;
    import org.apache.maven.repository.internal.scopes.Maven4ScopeManagerConfiguration;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import java.nio.file.Path;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.cling.invoker.LookupContext;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py39.py hl[1,13] *}
    
    **FastAPI** erstellt für Sie das Objekt vom Typ `BackgroundTasks` und übergibt es als diesen Parameter.
    
    ## Eine Taskfunktion erstellen { #create-a-task-function }
    
    Erstellen Sie eine Funktion, die als Hintergrundtask ausgeführt werden soll.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.time.format.DateTimeFormatter;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.BiConsumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.ArrayBlockingQueue;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.function.Consumer;
    
    import org.eclipse.aether.transfer.AbstractTransferListener;
    import org.eclipse.aether.transfer.TransferCancelledException;
    import org.eclipse.aether.transfer.TransferEvent;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.plugin;
    
    import java.util.function.Supplier;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Provider;
    
    /**
     * This interface supplies the API for providing feedback to the user from the {@code Mojo},
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 28 09:03:24 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  10. internal/http/response-recorder.go

    	if !ok {
    		return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter)
    	}
    	return hj.Hijack()
    }
    
    // TTFB of the request - this function needs to be called
    // when the request is finished to provide accurate data
    func (lrw *ResponseRecorder) TTFB() time.Duration {
    	if lrw.ttfbBody != 0 {
    		return lrw.ttfbBody
    	}
    	return lrw.ttfbHeader
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top