Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 148 for readwrite (0.32 sec)

  1. src/bufio/bufio.go

    	}
    	return n, err
    }
    
    // buffered input and output
    
    // ReadWriter stores pointers to a [Reader] and a [Writer].
    // It implements [io.ReadWriter].
    type ReadWriter struct {
    	*Reader
    	*Writer
    }
    
    // NewReadWriter allocates a new [ReadWriter] that dispatches to r and w.
    func NewReadWriter(r *Reader, w *Writer) *ReadWriter {
    	return &ReadWriter{r, w}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
        MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE);
        map.put(expectedBytes);
    
        // Verify
        byte[] actualBytes = Files.toByteArray(file);
        assertTrue(Arrays.equals(expectedBytes, actualBytes));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        }
    
        @Override
        public String getName() {
            return queryBuilder.getName();
        }
    
        @Override
        public QueryBuilder rewrite(final QueryRewriteContext queryShardContext) throws IOException {
            return queryBuilder.rewrite(queryShardContext);
        }
    
        @Override
        public void visit(final QueryBuilderVisitor visitor) {
            queryBuilder.visit(visitor);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/buildid/buildid.go

    	}
    
    	if len(matches) == 0 {
    		return
    	}
    
    	f, err = os.OpenFile(file, os.O_RDWR, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := buildid.Rewrite(f, matches, newID); err != nil {
    		log.Fatal(err)
    	}
    	if err := f.Close(); err != nil {
    		log.Fatal(err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
        MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE);
        map.put(expectedBytes);
    
        // Verify
        byte[] actualBytes = Files.toByteArray(file);
        assertTrue(Arrays.equals(expectedBytes, actualBytes));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. cni/pkg/install/kubeconfig.go

    	if err != nil {
    		return kubeconfig{}, err
    	}
    
    	return kubeconfig{
    		Full:     string(fullYaml),
    		Redacted: string(redacted),
    	}, nil
    }
    
    // writeKubeConfigFile will rewrite/replace the kubeconfig used by the CNI plugin.
    // We are the only consumers of this file and it resides in our owned rundir on the host node,
    // so we are good to simply write it out if our watched svcacct token changes.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. .github/workflows/go-healing.yml

              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make verify-healing
              make verify-healing-inconsistent-versions
              make verify-healing-with-root-disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. internal/http/response-recorder.go

    	headers bytes.Buffer
    	body    bytes.Buffer
    	// Indicate if headers are written in the log
    	headersLogged bool
    }
    
    // Hijack - hijacks the underlying connection
    func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) {
    	hj, ok := lrw.ResponseWriter.(http.Hijacker)
    	if !ok {
    		return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter)
    	}
    	return hj.Hijack()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_internal.h

          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
      bool use_tfrt = false;
      // Whether to run elementary eager ops wrapped in a call op.
      bool run_eager_op_as_function = false;
      // Whether to rewrite jit_compile functions.
      bool jit_compile_rewrite = false;
    };
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 18 19:26:34 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. refactorings/CharMatcherRewrite.java

     */
    
    import com.google.common.base.CharMatcher;
    import com.google.errorprone.refaster.annotation.AfterTemplate;
    import com.google.errorprone.refaster.annotation.BeforeTemplate;
    
    /**
     * Refaster refactorings to rewrite uses of CharMatcher static constants to the static factory
     * methods.
     */
    public class CharMatcherRewrite {
      class Whitespace {
        @BeforeTemplate
        CharMatcher before() {
          return CharMatcher.WHITESPACE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 28 19:03:28 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top