Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,310 for gwrite (0.19 sec)

  1. 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)
  2. src/bufio/bufio_test.go

    		for j := 0; j < len(bufsizes); j++ {
    			nwrite := bufsizes[i]
    			bs := bufsizes[j]
    
    			// Write nwrite bytes using buffer size bs.
    			// Check that the right amount makes it out
    			// and that the data is correct.
    
    			w.Reset()
    			buf := NewWriterSize(w, bs)
    			context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs)
    			n, e1 := buf.Write(data[0:nwrite])
    			if e1 != nil || n != nwrite {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

            }
        }
    
        protected static boolean isWrite(int unixNumeric) {
            return (unixNumeric & 2) >> 1 == 1;
        }
    
        protected static boolean isWrite(String unixSymbolic) {
            char symbol = unixSymbolic.charAt(1);
            if (symbol == 'w') {
                return true;
            } else if (symbol == '-') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K 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