Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 341 for practice (0.36 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    		if tag == "" {
    			break
    		}
    
    		// Scan to colon. A space, a quote or a control character is a syntax error.
    		// Strictly speaking, control chars include the range [0x7f, 0x9f], not just
    		// [0x00, 0x1f], but in practice, we ignore the multi-byte control characters
    		// as it is simpler to inspect the tag's bytes than the tag's runes.
    		i = 0
    		for i < len(tag) && tag[i] > ' ' && tag[i] != ':' && tag[i] != '"' && tag[i] != 0x7f {
    			i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. pkg/scheduler/util/assumecache/assume_cache_test.go

    	// Update object.
    	informer.update(newObj)
    	verify(ktesting.WithStep(tCtx, "after initial update"), cache, key, newObj, newObj)
    
    	// Some error cases (don't occur in practice).
    	informer.add(1)
    	verify(ktesting.WithStep(tCtx, "after nop add"), cache, key, newObj, newObj)
    	informer.add(nil)
    	verify(ktesting.WithStep(tCtx, "after nil add"), cache, key, newObj, newObj)
    	informer.update(oldObj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. gradlew

    #
    #   Important for patching:
    #
    #   (2) This script targets any POSIX shell, so it avoids extensions provided
    #       by Bash, Ksh, etc; in particular arrays are avoided.
    #
    #       The "traditional" practice of packing multiple parameters into a
    #       space-separated string is a well documented source of bugs and security
    #       problems, so this is (mostly) avoided, by progressively accumulating
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

    }
    
    // Create an `ConstBytesAttr` which encodes the options
    // for the `tf.custom` tensor list op to be created. If the given
    // op is not a `tf.TensorList*` op, return empty, although this case
    // should never be trigged in practice since patterns are only applied
    // on `tf.TensorList*` ops.
    std::optional<ConstBytesAttr> CustomOptions(MLIRContext* context,
                                                mlir::Operation* op) {
      if (auto reserve =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/go/doc/exports.go

    			}
    			r.shadowedPredecl[name] = true
    		}
    	}
    	return false
    }
    
    // copyConstType returns a copy of typ with position pos.
    // typ must be a valid constant type.
    // In practice, only (possibly qualified) identifiers are possible.
    func copyConstType(typ ast.Expr, pos token.Pos) ast.Expr {
    	switch typ := typ.(type) {
    	case *ast.Ident:
    		return &ast.Ident{Name: typ.Name, NamePos: pos}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            return buildRedirectRequest(userResponse, method)
          }
    
          HTTP_CLIENT_TIMEOUT -> {
            // 408's are rare in practice, but some servers like HAProxy use this response code. The
            // spec says that we may repeat the request without modifications. Modern browsers also
            // repeat the request (even non-idempotent ones.)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/Escapers.java

        if (escaper instanceof UnicodeEscaper) {
          return (UnicodeEscaper) escaper;
        } else if (escaper instanceof CharEscaper) {
          return wrap((CharEscaper) escaper);
        }
        // In practice this shouldn't happen because it would be very odd not to
        // extend either CharEscaper or UnicodeEscaper for non-trivial cases.
        throw new IllegalArgumentException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. pkg/kube/krt/collection.go

    	}
    	for _, handler := range handlers {
    		handler(slices.Clone(events), false)
    	}
    }
    
    // WithName allows explicitly naming a controller. This is a best practice to make debugging easier.
    // If not set, a default name is picked.
    func WithName(name string) CollectionOption {
    	return func(c *collectionOptions) {
    		c.name = name
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

                // JVM allows to define a class with "null" name through Unsafe. LambdaMetafactory in Java 8 defines a SAM implementation for method handle this way.
                // ProtectionDomain is unlikely to be null in practice, but checking it doesn't hurt.
                return null;
            }
            try {
                return getLoader(protectionDomain).loadTransformedClass(className);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/resolution_strategy_tuning.adoc

    include::sample[dir="snippets/dependencyManagement/managingTransitiveDependencies-resolutionStrategy/groovy",files="build.gradle[tags=fail-on-changing]"]
    ====
    
    It's a good practice to fail on changing versions at release time.
    
    Eventually, it's possible to combine both failing on dynamic versions and changing versions using a single call:
    
    .Failing on non-reproducible resolution
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top