Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,144 for rewrite (0.2 sec)

  1. cmd/metacache_gen.go

    	}
    	// write "id"
    	err = en.Append(0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.id)
    	if err != nil {
    		err = msgp.WrapError(err, "id")
    		return
    	}
    	// write "err"
    	err = en.Append(0xa3, 0x65, 0x72, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.error)
    	if err != nil {
    		err = msgp.WrapError(err, "error")
    		return
    	}
    	// write "root"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] buffer = new byte[512];
            int offset = 0;
    
            // Write setup
            offset += trans2QueryFSInfo.writeSetupWireFormat(buffer, offset);
            assertEquals(2, offset);
    
            // Write parameters
            offset += trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
            assertEquals(4, offset);
    
            // Write data
            offset += trans2QueryFSInfo.writeDataWireFormat(buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertDoesNotThrow(() -> request.setRemainingBytes(1024));
                assertDoesNotThrow(() -> request.setRemainingBytes(Integer.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set write flags")
            void testSetWriteFlags() {
                assertDoesNotThrow(() -> request.setWriteFlags(0));
                assertDoesNotThrow(() -> request.setWriteFlags(0x01));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

        /**
         * Constructs a TransCallNamedPipe request to write data to a named pipe.
         *
         * @param config the SMB configuration
         * @param pipeName the name of the pipe to call
         * @param data the data buffer to write to the pipe
         * @param off the offset in the data buffer
         * @param len the length of data to write
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.FileBackedOutputStreamTest.write;
    
    import com.google.common.testing.GcFinalization;
    import java.io.File;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. .github/workflows/deploy-docs.yml

    name: Deploy Docs
    on:
      workflow_run:
        workflows:
          - Build Docs
        types:
          - completed
    
    permissions:
      deployments: write
      issues: write
      pull-requests: write
      statuses: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      deploy-docs:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            assertTrue(region.getSize() > 0, "Region should have positive size");
            assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access");
            assertTrue(region.hasAccess(RdmaAccess.REMOTE_WRITE), "Should have remote write access");
    
            // Verify provider was called
            verify(mockProvider, atLeastOnce()).registerMemory(any(ByteBuffer.class), any());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Hexdump.java

         *
         * @param val the integer value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
         * @param dstIndex the starting index in the destination array
         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(int val, final char dst[], final int dstIndex, int size) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            try {
                // In real implementation, this would perform RDMA write:
                // Similar to rdmaRead but with IBV_WR_RDMA_WRITE opcode
    
                log.debug("DiSNI RDMA write completed, {} bytes", length);
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA write failed", e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top