Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 77 for _retval (0.22 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/tsan.go

    #cgo LDFLAGS: -fsanitize=thread
    
    int val;
    
    int getVal() {
    	return val;
    }
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import (
    	"runtime"
    )
    
    func main() {
    	runtime.LockOSThread()
    	C.setVal(1)
    	c := make(chan bool)
    	go func() {
    		runtime.LockOSThread()
    		C.setVal(2)
    		c <- true
    	}()
    	<-c
    	if v := C.getVal(); v != 2 {
    		panic(v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 700 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-device-retval.pbtxt

    A. Unique TensorFlower <******@****.***> 1605121757 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcLsarClose rpc = new MsrpcLsarClose(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. istioctl/cmd/options.go

    }
    
    func optionsCommand(rootCmd *cobra.Command) *cobra.Command {
    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    		Args:  cobra.ExactArgs(0),
    	}
    
    	retval.SetHelpFunc(func(c *cobra.Command, args []string) {
    		c.Printf("The following options can be passed to any command:\n")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/packaging/rpm/init.d/fess

        daemon --user $FESS_USER --pidfile="$pidfile" $exec -d
        retval=$?
        pid=`ps aux | grep "^${FESS_USER}" | grep "${PROC_NAME}" | sed 's/[\t ]\+/\t/g' | cut -f2`
        if [ -n "$pid" ]; then
            echo $pid > "$pidfile"
        fi
        echo
        [ $retval -eq 0 ] && touch $lockfile
        return $retval
    }
    
    stop() {
        echo -n $"Stopping $prog: "
        # stop it here, often "killproc $prog"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 20 15:07:46 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. src/runtime/cgo/linux_syscall.c

    // argset_t matches runtime/cgocall.go:argset.
    typedef struct {
    	uintptr_t* args;
    	uintptr_t retval;
    } argset_t;
    
    // libc backed posix-compliant syscalls.
    
    #define SET_RETVAL(fn) \
      uintptr_t ret = (uintptr_t) fn ; \
      if (ret == (uintptr_t) -1) {	   \
        x->retval = (uintptr_t) errno; \
      } else                           \
        x->retval = ret
    
    void
    _cgo_libc_setegid(argset_t* x) {
    	SET_RETVAL(setegid((gid_t) x->args[0]));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

            this.handle = handle;
            MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);
            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

                server = "\\\\";
            }
            MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
Back to top