Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 590 for onOpen (0.08 sec)

  1. internal/event/target/mysql.go

    	return nil
    }
    
    func (target *MySQLTarget) init() error {
    	return target.initOnce.Do(target.initMySQL)
    }
    
    func (target *MySQLTarget) initMySQL() error {
    	args := target.args
    
    	db, err := sql.Open("mysql", args.DSN)
    	if err != nil {
    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    	target.db = db
    
    	if args.MaxOpenConnections > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/pod_cache.go

    	return func(nspath string) (NetnsCloser, error) {
    		nspathInContainer := filepath.Join(hostMountsPath, nspath)
    		ns, err := OpenNetns(nspathInContainer)
    		if err != nil {
    			err = fmt.Errorf("failed to open netns: %w. Make sure that the netns host path %s is mounted in under %s in the container", err, nspath, hostMountsPath)
    			log.Error(err.Error())
    		}
    		return ns, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    logger.info("Close {}", docIndex);
                    searchEngineClient.admin().indices().prepareOpen(docIndex).execute(
                            ActionListener.wrap(res2 -> logger.info("Open {}", docIndex), e -> logger.warn("Failed to open {}", docIndex, e)));
                }, e -> logger.warn("Failed to close {}", docIndex, e)));
            });
            saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. docs/pt/docs/help-fastapi.md

    Você pode:
    
    * <a href="https://github.com/tiangolo" class="external-link" target="_blank">Me siga no **GitHub**</a>.
        * Ver também outros projetos Open Source criados por mim que podem te ajudar.
        * Me seguir para saber quando um novo projeto Open Source for criado.
    * <a href="https://twitter.com/tiangolo" class="external-link" target="_blank">Me siga no **Twitter**</a>.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. internal/store/queuestore_test.go

    )
    
    // Initialize the queue store.
    func setUpQueueStore(directory string, limit uint64) (Store[TestItem], error) {
    	queueStore := NewQueueStore[TestItem](queueDir, limit, testItemExt)
    	if oErr := queueStore.Open(); oErr != nil {
    		return nil, oErr
    	}
    	return queueStore, nil
    }
    
    // Tear down queue store.
    func tearDownQueueStore() error {
    	return os.RemoveAll(queueDir)
    }
    
    // TestQueueStorePut - tests for store.Put
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. ci/official/utilities/extract_resultstore_links.py

      return parsed_args
    
    
    def parse_log(file_path: str,
                  verbose: bool = False) -> ResultDictType:
      """Finds ResultStore links, and tries to determine their status."""
      with open(file_path, 'r', encoding='utf-8', errors='ignore') as f:
        log_lines = f.read().splitlines()
    
      result_store_links: ResultDictType = {}
      current_url = None
      for i in range(len(log_lines)):
        line = log_lines[i]
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/main/resources/app.xml

    				</component>
    			</arg>
    		</postConstruct>
    	</component>
    	<component name="osddHelper" class="org.codelibs.fess.helper.OsddHelper">
    		<property name="osddPath">"/WEB-INF/orig/open-search/osdd.xml"</property>
    		<property name="encoding">"UTF-8"</property>
    	</component>
    	<component name="suggestHelper" class="org.codelibs.fess.helper.SuggestHelper">
    	</component>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Nov 19 02:22:47 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. pom.xml

    	<groupId>org.codelibs</groupId>
    	<artifactId>jcifs</artifactId>
    	<version>2.1.40-SNAPSHOT</version>
    	<packaging>jar</packaging>
    	<name>jCIFS</name>
    	<url>https://github.com/codelibs/jcifs</url>
    	<description>JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java</description>
    	<licenses>
    		<license>
    			<name>GNU Lesser General Public License, version 2.1</name>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Sep 26 04:40:32 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
              return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left);
            case CLOSED:
              return aggr.treeAggregate(node.left);
          }
          throw new AssertionError();
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。
    
    当 `with` 代码块结束时,它会确保关闭文件,即使发生了异常也是如此。
    
    当你使用 `yield` 创建一个依赖项时,**FastAPI** 会在内部将其转换为上下文管理器,并与其他相关工具结合使用。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top