Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for overwrite (0.04 sec)

  1. src/archive/tar/writer.go

    }
    
    func (fw *regFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > fw.nb
    	if overwrite {
    		b = b[:fw.nb]
    	}
    	if len(b) > 0 {
    		n, err = fw.w.Write(b)
    		fw.nb -= int64(n)
    	}
    	switch {
    	case err != nil:
    		return n, err
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. lib/fips140/Makefile

    # copy and edit the 'go run' command by hand to use a different branch.
    v%.zip:
    	git fetch origin master
    	go run ../../src/cmd/go/internal/fips140/mkzip.go v$*
    
    # normally mkzip refuses to overwrite an existing zip file.
    # make v1.2.3.rm removes the zip file and and unpacked
    # copy from the module cache.
    v%.rm:
    	rm -f v$*.zip
    	chmod -R u+w $$(go env GOMODCACHE)/golang.org/fips140@v$* 2>/dev/null || true
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

         * , java.lang.String)
         */
        @Override
        public void updateSessionId(final String oldSessionId, final String newSessionId) {
            // not MT-safe
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(oldSessionId);
            // overwrite
            dataHelper.addUrlQueueList(newSessionId, urlQueueList);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name. Duplicate names will not overwrite previous entries
    // and are appended to the zip file.
    // The file's contents must be written to the [io.Writer] before the next
    // call to [Writer.Create], [Writer.CreateHeader], or [Writer.Close].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. doc/go_spec.html

    </p>
    
    <pre>
    func(tv *T, a int) int
    </pre>
    
    <p>
    Such a function indirects through the receiver to create a value
    to pass as the receiver to the underlying method;
    the method does not overwrite the value whose address is passed in
    the function call.
    </p>
    
    <p>
    The final case, a value-receiver function for a pointer-receiver method,
    is illegal because pointer-receiver methods are not in the method set
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (1)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        }
    
        @Override
        public Long getContentLength() {
            return contentLength;
        }
    
        @Override
        public void setContentLength(final Long contentLength) {
            this.contentLength = contentLength;
        }
    
        @Override
        public Long getLastModified() {
            return lastModified;
        }
    
        @Override
        public void setLastModified(final Long lastModified) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/CIBuildModel.kt

    const val GRADLE_BUILD_SMOKE_TEST_NAME = "gradleBuildSmokeTest"
    
    enum class SpecificBuild {
        CompileAll {
            override fun create(
                model: CIBuildModel,
                stage: Stage,
            ): OsAwareBaseGradleBuildType = CompileAll(model, stage)
        },
        SanityCheck {
            override fun create(
                model: CIBuildModel,
                stage: Stage,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            public void addInclude(String urlPattern) {
            }
    
            @Override
            public void addExclude(String urlPattern) {
            }
    
            @Override
            public boolean match(String url) {
                return true;
            }
    
            @Override
            public void processUrl(String url) {
            }
    
            @Override
            public void clear() {
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                         *
                         * @param key The session ID.
                         * @return The list of compiled patterns.
                         */
                        @Override
                        public List<Pattern> load(final String key) {
                            return getList(OpenSearchUrlFilter.class, key, QueryBuilders.termQuery(FILTER_TYPE, type), null, maxLoadSize, null)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         */
        @Override
        public void store(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, accessResult.getId() == null ? OpType.CREATE : OpType.INDEX);
        }
    
        /**
         * Updates an access result in the OpenSearch index.
         *
         * @param accessResult The access result to update.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top