Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 328 for getInf (0.11 sec)

  1. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

        fbb.Add(static_cast<int32_t>(
            mlir::dyn_cast<IntegerAttr>(*(hash_seed.getValue().data() + i))
                .getInt()));
      }
      fbb.EndVector(vector_start, /*typed=*/true, /*fixed=*/false);
    
      auto buckets = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get("buckets"));
      fbb.Int("buckets", buckets.getInt());
    
      fbb.EndMap(start_map);
      fbb.Finish();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/cmd/objdump/objdump_test.go

    	goarch := runtime.GOARCH
    	if *target != "" {
    		f := strings.Split(*target, "/")
    		if len(f) != 2 {
    			t.Fatalf("-target argument must be goos/goarch")
    		}
    		defer os.Setenv("GOOS", os.Getenv("GOOS"))
    		defer os.Setenv("GOARCH", os.Getenv("GOARCH"))
    		os.Setenv("GOOS", f[0])
    		os.Setenv("GOARCH", f[1])
    		goarch = f[1]
    	}
    
    	hash := notsha256.Sum256([]byte(fmt.Sprintf("%v-%v-%v-%v", srcfname, flags, printCode, printGnuAsm)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/syscall/exec_linux_test.go

    // has forced / to be shared
    func TestUnshareMountNameSpace(t *testing.T) {
    	const mountNotSupported = "mount is not supported: " // Output prefix indicating a test skip.
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		dir := flag.Args()[0]
    		err := syscall.Mount("none", dir, "proc", 0, "")
    		if testenv.SyscallIsNotSupported(err) {
    			fmt.Print(mountNotSupported, err)
    		} else if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. operator/cmd/mesh/shared.go

    }
    
    func (w *writerPrinter) Println(str string) {
    	_, _ = fmt.Fprintln(w.writer, str)
    }
    
    func refreshGoldenFiles() bool {
    	ev := os.Getenv("REFRESH_GOLDEN")
    	return ev == "true" || ev == "1"
    }
    
    func kubeBuilderInstalled() bool {
    	ev := os.Getenv("KUBEBUILDER")
    	return ev == "true" || ev == "1"
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tests/helper_test.go

    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    func isSqlite() bool {
    	return os.Getenv("GORM_DIALECT") == "sqlite"
    }
    
    func db(unscoped bool) *gorm.DB {
    	if unscoped {
    		return DB.Unscoped()
    	} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. pdm_build.py

    import os
    from typing import Any, Dict, List
    
    from pdm.backend.hooks import Context
    
    TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi")
    
    
    def pdm_build_initialize(context: Context) -> None:
        metadata = context.config.metadata
        # Get custom config for the current package, from the env var
        config: Dict[str, Any] = context.config.data["tool"]["tiangolo"][
            "_internal-slim-build"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 30 06:38:13 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

            @Override
            boolean isSatisfied() throws Exception {
                return System.getenv("RUNNING_ON_REMOTE_AGENT") != null
            }
        }
    
        static final class NotInGradleceptionBuild implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return System.getenv("BUILD_TYPE_ID")?.contains("Check_Gradleception") != true
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/testing/internal/testdeps/deps.go

    	return ImportPath
    }
    
    // testLog implements testlog.Interface, logging actions by package os.
    type testLog struct {
    	mu  sync.Mutex
    	w   *bufio.Writer
    	set bool
    }
    
    func (l *testLog) Getenv(key string) {
    	l.add("getenv", key)
    }
    
    func (l *testLog) Open(name string) {
    	l.add("open", name)
    }
    
    func (l *testLog) Stat(name string) {
    	l.add("stat", name)
    }
    
    func (l *testLog) Chdir(name string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_activity_logging_listener.cc

        }
    
        return absl::OkStatus();
      }
    
     private:
      bool IsEnabled() {
        static bool result = ComputeIsEnabled();
        return result;
      }
    
      bool ComputeIsEnabled() {
        char* log_xla_activity = getenv("TF_LOG_XLA_ACTIVITY");
        if (log_xla_activity == nullptr) {
          bool enabled_by_default = true;
          return enabled_by_default;
        }
    
        return absl::string_view(log_xla_activity) == "1";
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final String appType = System.getenv(FESS_APP_TYPE);
            if (StringUtil.isNotBlank(appType)) {
                return appType;
            }
            return StringUtil.EMPTY;
        }
    
        public static OptionalEntity<String> getOverrideConfPath() {
            if (FESS_APP_DOCKER.equalsIgnoreCase(getAppType())) {
                final String confPath = System.getenv(FESS_OVERRIDE_CONF_PATH);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top