Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 649 for rewrite (0.03 sec)

  1. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    index a5202a1..772d081 100644
    --- a/timezone/zic.c
    +++ b/timezone/zic.c
    @@ -1609,7 +1609,7 @@ writezone(const char *const name, const char *const string)
     		}
     #define DO(field)	((void) fwrite(tzh.field, sizeof tzh.field, 1, fp))
     		tzh = tzh0;
    -		(void) strncpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic);
    +		memcpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic);
     		tzh.tzh_version[0] = ZIC_VERSION;
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         * @return The number of bytes written.
         */
        public static int write(final FileChannel channel, final ByteBuffer buffer) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("buffer", buffer);
    
            try {
                return channel.write(buffer);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. .github/workflows/pull-metadata.yml

    name: Check pulls metadata
    
    on:
      pull_request_target:
        types: [ closed, unlabeled, milestoned, demilestoned ]
    
    permissions: {}
    
    jobs:
      check_pull_metadata:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          # Check that PRs have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/pull-metadata.ts
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 11 09:00:56 UTC 2025
    - 480 bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only)
    
            // Write name
            System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4);
    
            // Write lease key
            Smb2LeaseKey key = new Smb2LeaseKey();
            key.encode(buffer, 24);
    
            // Write lease state
            SMBUtil.writeInt4(DirectoryLeaseState.DIRECTORY_READ_HANDLE, buffer, 40);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    import jcifs.smb1.Config;
    import jcifs.smb1.util.LogStream;
    
    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    requires leaving a 4 byte prefix for the NBT header. IOW you must call
    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
        private static final int BUFFER_SIZE = 512;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            String testContent = "Hello, World!";
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
    
            // Write test content to file
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                fos.write(testContent.getBytes("UTF-8"));
            }
    
            ContentCache cache = new ContentCache(tempFile);
    
            try (InputStream stream = cache.getInputStream()) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, buffer, offset, 4);
            offset += 4;
    
            // Padding to align data to 8-byte boundary
            offset += 4;
    
            // Write standard lease data (32 bytes)
            leaseKey.encode(buffer, offset); // LeaseKey (16 bytes)
            offset += 16;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

     * and delete by query suggest items in an OpenSearch index.
     */
    public class SuggestIndexWriter implements SuggestWriter {
        /**
         * Constructs a new {@link SuggestIndexWriter}.
         */
        public SuggestIndexWriter() {
            // nothing
        }
    
        @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = new byte[totalSize];
    
            // Write next entry offset (4 bytes)
            SMBUtil.writeInt4(nextOffset, buffer, 0);
    
            // Write action (4 bytes)
            SMBUtil.writeInt4(action, buffer, 4);
    
            // Write file name length (4 bytes)
            SMBUtil.writeInt4(fileNameBytes.length, buffer, 8);
    
            // Write file name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeInt4(0, buffer, 64); // eaSize
    
            // Write short name length and short name
            byte[] shortNameBytes = Strings.getUNIBytes(shortName);
            buffer[68] = (byte) shortNameBytes.length; // shortNameLength
            System.arraycopy(shortNameBytes, 0, buffer, 70, Math.min(shortNameBytes.length, 24));
    
            // Write filename
            if (unicode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top