Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,912 for gwrite (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      // For the read-only case we only need that the last unknown write is already
      // tracked by the last `resource` write since we don't have dependencies to
      // any other read accesses.
      // Otherwise, we need that the last unknown read(s) and write are already
      // tracked by any read or write accesses of `resource`.
      bool is_tracked = read_only ?
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  2. src/runtime/heapdump.go

    		nbuf += len
    		return
    	}
    
    	write(dumpfd, unsafe.Pointer(&buf), int32(nbuf))
    	if len >= bufSize {
    		write(dumpfd, data, int32(len))
    		nbuf = 0
    	} else {
    		copy(buf[:], (*[bufSize]byte)(data)[:len])
    		nbuf = len
    	}
    }
    
    func dwritebyte(b byte) {
    	dwrite(unsafe.Pointer(&b), 1)
    }
    
    func flush() {
    	write(dumpfd, unsafe.Pointer(&buf), int32(nbuf))
    	nbuf = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

                        read = false
                        write = false
                    }
    
                    secondaryAccess {
                        name = "two"
                        read = true
                        write = false
                    }
    
                    secondaryAccess {
                        name = "three"
                        read = true
                        write = true
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/net/resolverdialfunc_test.go

    	// last.
    	// And it's also annoying if it's possible for users to set
    	// different TTLs per Answer.
    	if w.a.wrote {
    		return
    	}
    	w.a.ttl = seconds
    
    }
    
    type AWriter struct{ ResponseWriter }
    
    func (w AWriter) AddIP(v4 [4]byte) {
    	w.a.wrote = true
    	err := w.a.builder.AResource(w.header(), dnsmessage.AResource{A: v4})
    	if err != nil {
    		panic(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/os/file_plan9.go

    		return 0, nil
    	}
    	return fixCount(syscall.Write(f.fd, b))
    }
    
    // pwrite writes len(b) bytes to the File starting at byte offset off.
    // It returns the number of bytes written and an error, if any.
    // Since Plan 9 preserves message boundaries, never allow
    // a zero-byte write.
    func (f *File) pwrite(b []byte, off int64) (n int, err error) {
    	if err := f.writeLock(); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/file/UserClassFilePermissions.java

         */
        boolean getRead();
    
        /**
         * Describes if a certain class of users has write access to a file or directory.
         * <p>
         * Write access is the capability to modify or remove the contents of a file,
         * or to add or remove files to/from a directory.
         */
        boolean getWrite();
    
        /**
         * Describes if a certain class of users has execute access to a file or directory.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/runtime/os_plan9.go

    	return pread(fd, buf, n, -1)
    }
    
    //go:nosplit
    func write1(fd uintptr, buf unsafe.Pointer, n int32) int32 {
    	return pwrite(int32(fd), buf, n, -1)
    }
    
    var _badsignal = []byte("runtime: signal received on thread not created by Go.\n")
    
    // This runs on a foreign stack, without an m or a g. No stack split.
    //
    //go:nosplit
    func badsignal2() {
    	pwrite(2, unsafe.Pointer(&_badsignal[0]), int32(len(_badsignal)), -1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/resource_operation_safety_analysis.cc

    //               |           |
    //               v           |
    //             Write         |
    //               |           |
    //               v           |
    //           NextIteration --+
    //
    // we won't put (Read, Write) in the returned set.  This is fine if
    // auto-clustering can only cluster the Read->Write edge, but it is a problem if
    // it clusters the Write->NextIteration->Merge->Read edges instead.  So we rely
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/syscall/syscall_unix.go

    		}
    	}
    	if msan.Enabled && n > 0 {
    		msan.Write(unsafe.Pointer(&p[0]), uintptr(n))
    	}
    	if asan.Enabled && n > 0 {
    		asan.Write(unsafe.Pointer(&p[0]), uintptr(n))
    	}
    	return
    }
    
    func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
    	if race.Enabled {
    		race.ReleaseMerge(unsafe.Pointer(&ioSync))
    	}
    	n, err = pwrite(fd, p, offset)
    	if race.Enabled && n > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/internal/poll/fd_windows.go

    		}
    	}
    	return n, nil
    }
    
    // Pwrite emulates the Unix pwrite system call.
    func (fd *FD) Pwrite(buf []byte, off int64) (int, error) {
    	if fd.kind == kindPipe {
    		// Pwrite does not work with pipes
    		return 0, syscall.ESPIPE
    	}
    	// Call incref, not writeLock, because since pwrite specifies the
    	// offset it is independent from other writes.
    	if err := fd.incref(); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top