Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,536 for Enforce (0.12 sec)

  1. hack/golangci-strict.yaml

              # golangci-lint will report stale results:
              #    _output/local/bin/golangci-lint cache clean
              
              # At this point we don't enforce the usage structured logging calls except in
              # those packages that were migrated. This disables the check for other files.
              -structured .*
              
              # Now enable it again for migrated packages.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/result.go

    			return objects[0], nil
    		}
    	}
    
    	version := ""
    	if len(versions) == 1 {
    		version = versions.List()[0]
    	}
    
    	return toV1List(objects, version), err
    }
    
    // Compile time check to enforce that list implements the necessary interface
    var _ metav1.ListInterface = &v1.List{}
    var _ metav1.ListMetaAccessor = &v1.List{}
    
    // toV1List takes a slice of Objects + their version, and returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/mvs/graph.go

    // the target must have higher precedence than the version in req.
    func (g *Graph) Require(m module.Version, reqs []module.Version) {
    	// To help catch disconnected-graph bugs, enforce that all required versions
    	// are actually reachable from the roots (and therefore should affect the
    	// selected versions of the modules they name).
    	if _, reachable := g.isRoot[m]; !reachable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/README.adoc

    external repository. Publishing configuration, such as a common group name for the libraries as well as the repository coordinates
    might be a cross-cutting concern that both libraries need to share. For this example let's also say that we want to enforce that
    our libraries expose some documentation with a common structure.
    
    == Organizing build logic
    
    From the use case above, we have identified that we have two types of projects - generic Java projects and public libraries.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. src/net/http/httptest/recorder.go

    	if rw.Body != nil {
    		rw.Body.WriteString(str)
    	}
    	return len(str), nil
    }
    
    func checkWriteHeaderCode(code int) {
    	// Issue 22880: require valid WriteHeader status codes.
    	// For now we only enforce that it's three digits.
    	// In the future we might block things over 599 (600 and above aren't defined
    	// at https://httpwg.org/specs/rfc7231.html#status.codes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/apply.go

    	} else {
    		return cmdutil.TypeMismatchErr("allowRCUpgrades", "bool")
    	}
    
    	force, ok := cmdutil.ValueFromFlagsOrConfig(flagSet, "force", upgradeCfg.Apply.ForceUpgrade, &flags.force).(*bool)
    	if ok {
    		flags.force = *force
    	} else {
    		return cmdutil.TypeMismatchErr("force", "bool")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizeDRQPass)
    
      // Constructor used by the PassRegistration and enforce int8 quantization.
      // This is only used by test.
      explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/math/big/decimal.go

    // precision argument and keeping track of when a number was truncated early
    // (equivalent of "sticky bit" in binary rounding).
    
    // TODO(gri) Along the same lines, enforce some limit to shift magnitudes
    // to avoid "infinitely" long running conversions (until we run out of space).
    
    // Init initializes x to the decimal representation of m << shift (for
    // shift >= 0), or m >> -shift (for shift < 0).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  9. pkg/kubelet/lifecycle/handlers.go

    	}
    
    	err := a.Validate(attrs.Pod)
    	if err == nil {
    		return PodAdmitResult{Admit: true}
    	}
    	return PodAdmitResult{
    		Admit:   false,
    		Reason:  "AppArmor",
    		Message: fmt.Sprintf("Cannot enforce AppArmor: %v", err),
    	}
    }
    
    func isHTTPResponseError(err error) bool {
    	if err == nil {
    		return false
    	}
    	urlErr := &url.Error{}
    	if !errors.As(err, &urlErr) {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * ({@code this}) will be cancelled and interrupted.
       *
       * @param timeout when to time out the future
       * @param scheduledExecutor The executor service to enforce the timeout.
       * @since 28.0
       */
      @J2ktIncompatible
      @GwtIncompatible // ScheduledExecutorService
      public final FluentFuture<V> withTimeout(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top