Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 363 for exit_0 (0.15 sec)

  1. doc/go_mem.html

    	t.msg = "hello, world"
    	g = t
    }
    
    func main() {
    	go setup()
    	for g == nil {
    	}
    	print(g.msg)
    }
    </pre>
    
    <p>
    Even if <code>main</code> observes <code>g != nil</code> and exits its loop,
    there is no guarantee that it will observe the initialized
    value for <code>g.msg</code>.
    </p>
    
    <p>
    In all these examples, the solution is the same:
    use explicit synchronization.
    </p>
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +  char ut_user[UT_NAMESIZE]
    +    __attribute_nonstring__;	/* Username.  */
    +  char ut_host[UT_HOSTSIZE]
    +    __attribute_nonstring__;	/* Hostname for remote login.  */
       struct exit_status ut_exit;	/* Exit status of a process marked
     				   as DEAD_PROCESS.  */
     /* The ut_session and ut_tv fields must be the same size when compiled
    diff --git a/sysdeps/gnu/bits/utmpx.h b/sysdeps/gnu/bits/utmpx.h
    index f8716ca..13d84e4 100644
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader.go

    			}
    			select {
    			case <-r.close:
    				return
    			case r.queue <- &q:
    			}
    
    			select {
    			case <-r.close:
    				return
    			case r.input <- &q:
    			}
    			if nextErr != nil {
    				// Exit on any error.
    				return
    			}
    			next, nextErr = r.nextSplit(csvSplitSize, r.bufferPool.Get().([]byte))
    		}
    	}()
    
    	// Start parsers
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. misc/ios/go_ios_exec.go

    	}
    
    	// For compatibility with the old builders, use a fallback bundle ID
    	bundleID = "golang.gotest"
    
    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatalf("%v\n", err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	var err error
    	tmpdir, err = os.MkdirTemp("", "go_ios_exec_")
    	if err != nil {
    		return 1, err
    	}
    	if !debug {
    		defer os.RemoveAll(tmpdir)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        service.startAsync().awaitRunning();
        assertTrue(service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
    
        exitRun.countDown(); // the service will exit voluntarily
        executionThread.join();
    
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
    
        service.stopAsync().awaitTerminated(); // no-op
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_3site_replication.sh

    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    	rm -rf /tmp/multisiteb
    	rm -rf /tmp/multisitec
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    
    set -e
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    export MINIO_ROOT_USER="minio"
    export MINIO_ROOT_PASSWORD="minio123"
    export MINIO_KMS_AUTO_ENCRYPTION=off
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           *
           * - in the "reentrant submit" case of `execute` (in which case we must have started running a
           *   user task -- which means that we already got past this code (or else we exited early
           *   above))
           */
          // Unconditionally set; there is no risk of throwing away a queued task from another thread,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    # 使用yield的依赖项
    
    FastAPI支持在完成后执行一些<abbr title='有时也被称为"退出"("exit"),"清理"("cleanup"),"拆卸"("teardown"),"关闭"("close"),"上下文管理器"("context managers")。 ...'>额外步骤</abbr>的依赖项.
    
    为此,你需要使用 `yield` 而不是 `return`,然后再编写这些额外的步骤(代码)。
    
    /// tip | 提示
    
    确保在每个依赖中只使用一次 `yield`。
    
    ///
    
    /// note | "技术细节"
    
    任何一个可以与以下内容一起使用的函数:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    		}
    	}
    	send := func(entry metaCacheEntry) error {
    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    	if HasSuffix(opts.BaseDir, SlashSeparator) {
    		metadata, err := s.readMetadata(ctx, pathJoin(volumeDir,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		if rec := recover(); rec != nil {
    			gridLogIf(ctx, fmt.Errorf("handleMessages: panic recovered: %v", rec))
    			debug.PrintStack()
    		}
    		if debugPrint {
    			fmt.Println("handleMessages: write goroutine exited")
    		}
    		cancel(ErrDisconnected)
    		c.connChange.L.Lock()
    		if atomic.CompareAndSwapUint32((*uint32)(&c.state), StateConnected, StateConnectionError) {
    			c.connChange.Broadcast()
    		}
    		c.disconnected()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top