Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,545 for write2 (0.06 sec)

  1. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        initializeData(out);
    
        data = baos.toByteArray();
      }
    
      private void initializeData(DataOutputStream out) throws IOException {
        /* Write out various test values NORMALLY */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                runtime.registerData("forumLink", forumLink);
            }
        }
    
        protected abstract String getActionRole();
    
        protected void write(final String path, final byte[] data) {
            LdiFileUtil.write(path, data);
        }
    
        protected ServletContext getServletContext() {
            return LaServletContextUtil.getServletContext();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/record.go

    type Record interface {
    	Get(name string) (*Value, error)
    
    	// Set a value.
    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  4. cmd/local-locker_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		rUIDs = append(rUIDs, uid)
    
    		// RLock twice, different uid
    		uid = mustGetUUID()
    		arg.UID = uid
    		ok, err = l.RLock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		rResources[i] = name
    		rUIDs = append(rUIDs, uid)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		defer xioutil.ODirectPoolLarge.Put(bufp)
    	}
    
    	var written int64
    	if odirectEnabled {
    		written, err = xioutil.CopyAligned(diskHealthWriter(ctx, w), r, *bufp, fileSize, w)
    	} else {
    		written, err = io.CopyBuffer(diskHealthWriter(ctx, w), r, *bufp)
    	}
    	if err != nil {
    		w.Close()
    		return err
    	}
    
    	if written < fileSize && fileSize >= 0 {
    		if truncate {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
      }
    
      public void testWriteBytes() throws IOException {
        File temp = createTempFile();
        byte[] data = newPreFilledByteArray(2000);
        Files.write(data, temp);
        assertTrue(Arrays.equals(data, Files.toByteArray(temp)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. .github/workflows/scorecards-analysis.yml

        name: Scorecards analysis
        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
          security-events: write
          # Needed to publish results and get a badge (see publish_results below).
          id-token: write
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
            with:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocksProxy.kt

              throw ProtocolException("unexpected address: " + toSocket.localAddress)
            }
    
            // Write the reply.
            fromSink.writeByte(VERSION_5)
            fromSink.writeByte(REPLY_SUCCEEDED)
            fromSink.writeByte(0)
            fromSink.writeByte(ADDRESS_TYPE_IPV4)
            fromSink.write(localAddress)
            fromSink.writeShort(toSocket.localPort)
            fromSink.emit()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            getProperties().store(out, comments);
        }
    
        @Override
        public void store(final Writer writer, final String comments) throws IOException {
            getProperties().store(writer, comments);
        }
    
        @Override
        public void storeToXML(final OutputStream os, final String comment, final String encoding) throws IOException {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-erasure-set.go

    		"Overall write quorum across pools and sets")
    	erasureSetOverallHealthMD = NewGaugeMD(erasureSetOverallHealth,
    		"Overall health across pools and sets (1=healthy, 0=unhealthy)")
    	erasureSetReadQuorumMD = NewGaugeMD(erasureSetReadQuorum,
    		"Read quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetWriteQuorumMD = NewGaugeMD(erasureSetWriteQuorum,
    		"Write quorum for the erasure set in a pool", poolIDL, setIDL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top