Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 129 for unavailable (0.06 seconds)

  1. internal/jwt/parser.go

    	}
    
    	for _, signer := range hmacSigners {
    		if string(alg) == signer.Name {
    			return signer, nil
    		}
    	}
    
    	return nil, jwtgo.NewValidationError(fmt.Sprintf("signing method (%s) is unavailable.", string(alg)),
    		jwtgo.ValidationErrorUnverifiable)
    }
    
    // ParseWithClaims - parse the token string, valid methods.
    func ParseWithClaims(tokenStr string, claims *MapClaims, fn func(*MapClaims) ([]byte, error)) error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. internal/http/server.go

    			listenErrCallback(srv.Addrs[i], listenErrs[i])
    		} else {
    			interfaceFound = true
    		}
    	}
    	if !interfaceFound {
    		return nil, errors.New("no available interface found")
    	}
    
    	// Wrap given handler to do additional
    	// * return 503 (service unavailable) if the server in shutdown.
    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// If server is in shutdown.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. cmd/erasure.go

    // list all errors that can be ignored in a bucket metadata operation.
    var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
    
    // OfflineDisk represents an unavailable disk.
    var OfflineDisk StorageAPI // zero value is nil
    
    // erasureObjects - Implements ER object layer.
    type erasureObjects struct {
    	setDriveCount      int
    	defaultParityCount int
    
    	setIndex  int
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  4. tensorflow/c/c_api_test.cc

    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/false);
    }
    
    TEST(CAPI, Session_Min_XLA_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/true);
    }
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  5. cmd/handler-api.go

    	memStats, err := mem.VirtualMemory()
    	if err != nil {
    		return available
    	}
    
    	// A valid value is available return its 90%
    	available = (memStats.Available * 9) / 10
    	return available
    }
    
    func (t *apiConfig) init(cfg api.Config, setDriveCounts []int, legacy bool) {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	clusterDeadline := cfg.ClusterDeadline
    	if clusterDeadline == 0 {
    		clusterDeadline = 10 * time.Second
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            // Create a mock ModelBuilderResult with null effectiveModel but available rawModel
            ModelBuilderResult mockResult = new MockModelBuilderResult(
                    null, // effectiveModel is null
                    createMockModel("com.example", "test-project", "1.0.0"), // rawModel is available
                    null // fileModel is null
                    );
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy

    import org.gradle.util.internal.VersionNumber
    import spock.lang.Specification
    
    class UpdateAgpVersionsTest extends Specification {
    
        def "selects matching gradle major versions when stable or rc available (minimumSupported=#minimumSupported)"() {
            given:
            def gradleVersion = GradleVersion.version("9.2")
            def allVersions = [
                "8.8.0", "8.9.0",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

         */
        <T> T process(T object);
    
        /**
         * Process a model object using the first available processor implementation.
         *
         * <p>This method discovers processor implementations via ServiceLoader and
         * uses the first one found. If no implementations are available, the object
         * is returned unchanged. The processor is cached for performance.</p>
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

        }
    
        def "fails is minimumSupported is not available"() {
            given:
            def allVersions = ["2.0.0", "2.0.0-RC1", "2.0.0-Beta1"]
    
            when:
            UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions)
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "Minimum supported '1.9.10' was not found in available versions: [2.0.0, 2.0.0-RC1, 2.0.0-Beta1]"
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. internal/disk/stat_linux.go

    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top