Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 158 for Strip (0.17 sec)

  1. tensorflow/compiler/jit/flags.cc

    #include <limits>
    #include <mutex>  // NOLINT
    #include <optional>
    #include <vector>
    
    #include "absl/base/call_once.h"
    #include "absl/strings/numbers.h"
    #include "absl/strings/str_split.h"
    #include "absl/strings/strip.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h"
    #include "xla/parse_flags_from_env.h"
    #include "tensorflow/core/platform/macros.h"
    #include "tensorflow/core/tpu/kernels/sparse_core_xla_flags_defaults.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    						error_(sel.Pos(), `cannot define new methods on non-local type %s`, &buf)
    					}
    				}
    			}
    		}
    
    	}
    	if !sawC {
    		error_(ast1.Package, `cannot find import "C"`)
    	}
    
    	// In ast2, strip the import "C" line.
    	if *godefs {
    		w := 0
    		for _, decl := range ast2.Decls {
    			d, ok := decl.(*ast.GenDecl)
    			if !ok {
    				ast2.Decls[w] = decl
    				w++
    				continue
    			}
    			ws := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    			gw, err := makeGateway(false)
    			if err != nil {
    				return fmt.Errorf("failed to create gateway: %v", err)
    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			// strip junk
    			res := strings.ReplaceAll(string(b), `  creationTimestamp: null
    `, "")
    			res = strings.ReplaceAll(res, `status: {}
    `, "")
    			fmt.Fprint(cmd.OutOrStdout(), res)
    			return nil
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    	if len(private) > 0 {
    		exts = append(exts, private)
    	}
    	scan.b = scan.b[:start]
    	if len(exts) > 0 {
    		scan.b = append(scan.b, bytes.Join(exts, separator)...)
    	} else if start > 0 {
    		// Strip trailing '-'.
    		scan.b = scan.b[:start-1]
    	}
    	return end
    }
    
    // parseExtension parses a single extension and returns the position of
    // the extension end.
    func parseExtension(scan *scanner) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigIntegerMath.java

        // Start from the pre-computed maximum long factorial.
        int startingNumber = LongMath.factorials.length;
        long product = LongMath.factorials[startingNumber - 1];
        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    	(I64Store16 [4] destptr (I64Const [0])
    		(I64Store32 destptr (I64Const [0]) mem))
    (Zero [7] destptr mem) =>
    	(I64Store32 [3] destptr (I64Const [0])
    		(I64Store32 destptr (I64Const [0]) mem))
    
    // Strip off any fractional word zeroing.
    (Zero [s] destptr mem) && s%8 != 0 && s > 8 && s < 32 =>
    	(Zero [s-s%8] (OffPtr <destptr.Type> destptr [s%8])
    		(I64Store destptr (I64Const [0]) mem))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/BigIntegerMath.java

        // Start from the pre-computed maximum long factorial.
        int startingNumber = LongMath.factorials.length;
        long product = LongMath.factorials[startingNumber - 1];
        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            }
            else if ( path.charAt(path.length() - 1) == '\\' ) {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            }
            else {
                link = path;
            }
    
            if ( log.isTraceEnabled() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  9. pkg/kube/util.go

    	obj, _, err := IstioCodec.UniversalDeserializer().Decode(by, &gvk, nil)
    	if err != nil {
    		return nil, err
    	}
    	return obj, nil
    }
    
    // sanitizeKubeConfig sanitizes a kubeconfig file to strip out insecure settings which may leak
    // confidential materials.
    // See https://github.com/kubernetes/kubectl/issues/697
    func sanitizeKubeConfig(config api.Config, allowlist sets.String) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/log/slog/handler.go

    	stateGroups := state.groups
    	state.groups = nil // So ReplaceAttrs sees no groups instead of the pre groups.
    	rep := h.opts.ReplaceAttr
    	// time
    	if !r.Time.IsZero() {
    		key := TimeKey
    		val := r.Time.Round(0) // strip monotonic to match Attr behavior
    		if rep == nil {
    			state.appendKey(key)
    			state.appendTime(val)
    		} else {
    			state.appendAttr(Time(key, val))
    		}
    	}
    	// level
    	key := LevelKey
    	val := r.Level
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top