Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 823 for existing (0.06 seconds)

  1. internal/ringbuffer/README.md

    	// write
    	rb.Write([]byte("abcd"))
    	fmt.Println(rb.Length())
    	fmt.Println(rb.Free())
    
    	// read
    	buf := make([]byte, 4)
    	rb.Read(buf)
    	fmt.Println(string(buf))
    }
    ```
    
    It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
    
    
    # Blocking vs Non-blocking
    
    The default behavior of the ring buffer is non-blocking, 
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 00:11:04 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_supportedPresent() {
        assertEquals(
            "computeIfAbsent(present, function) should return existing value",
            v0(),
            getMap()
                .computeIfAbsent(
                    k0(),
                    k -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy

            throw new UnsupportedOperationException();
        }
    
        @TaskAction
        final void executeTask() {
            AntBuilder ant = new AntBuilder()
    
            // remove existing loggers, we add our own
            List<BuildLogger> toRemove = new ArrayList<>();
            for (BuildListener listener : ant.project.getBuildListeners()) {
                if (listener instanceof BuildLogger) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

                op.setup(form -> {
                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        /**
         * Displays the form for editing an existing path mapping.
         *
         * @param form the edit form containing the path mapping ID and data
         * @return HTML response for the path mapping edit form
         */
        @Execute
        @Secured({ ROLE })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                    form.dictId = dictId;
                });
            });
        }
    
        /**
         * Display the edit form for an existing stopwords entry.
         *
         * @param form the edit form containing the entry ID and dictionary ID
         * @return HTML response for the edit form
         */
        @Execute
        @Secured({ ROLE })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                chain = appendFilterChain(element, chain);
            }
            filterChain = chain;
        }
    
        /**
         * Appends a filter to the existing filter chain.
         *
         * @param filter the filter to append
         * @param chain the existing filter chain
         * @return a new filter chain with the filter appended
         */
        protected FilterChain appendFilterChain(final Filter filter, final FilterChain chain) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. ci/official/containers/ml_build/Dockerfile

    # - buildifier: clean bazel build deps
    # - buildozer: clean bazel build deps
    # - gcloud SDK: communicate with Google Cloud Platform (GCP) for RBE, CI
    # - patchelf: Utility tool to modify existing ELF executables and libraries
    RUN git clone --branch v1.13.0 https://github.com/bats-core/bats-core.git && bats-core/install.sh /usr/local && rm -rf bats-core
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Mar 20 15:35:12 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

    /**
     * File System Control Code (FSCC) structure for File Rename Information.
     * Used in SMB2/SMB3 set file information operations to rename files or directories,
     * with support for specifying whether to replace existing files with the same name.
     *
     * @author mbechler
     */
    public class FileRenameInformation2 implements FileInformation {
    
        private boolean replaceIfExists;
        private String fileName;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

        /**
         * Create a new random lease key
         */
        public Smb2LeaseKey() {
            this.key = new byte[LEASE_KEY_SIZE];
            RANDOM.nextBytes(this.key);
        }
    
        /**
         * Create a lease key from existing bytes
         *
         * @param key 16-byte array
         * @throws IllegalArgumentException if key is not 16 bytes
         */
        public Smb2LeaseKey(byte[] key) {
            if (key == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

                op.setup(form -> {
                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        /**
         * Displays the form for editing an existing related query item.
         *
         * @param form the edit form containing the ID of the item to edit
         * @return HTML response for the edit form
         */
        @Execute
        @Secured({ ROLE })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top