Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 5,228 for avoid (0.16 seconds)

  1. src/bytes/bytes.go

    func shouldUseASCIISet(bufLen int) bool {
    	return bufLen > 8
    }
    
    // containsRune is a simplified version of strings.ContainsRune
    // to avoid importing the strings package.
    // We avoid bytes.ContainsRune to avoid allocating a temporary copy of s.
    func containsRune(s string, r rune) bool {
    	for _, c := range s {
    		if c == r {
    			return true
    		}
    	}
    	return false
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Interners.java

        }
    
        @Override
        public E intern(E sample) {
          while (true) {
            // trying to read the canonical...
            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. .github/workflows/test.yml

              COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
              CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
          # Do not store coverage for all possible combinations to avoid file size max errors in Smokeshow
          - name: Store coverage files
            if: matrix.coverage == 'coverage'
            uses: actions/upload-artifact@v7
            with:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Byte> none = Arrays.<Byte>asList();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

              helper = new SynchronizedHelper();
            }
          }
        } else {
          /*
           * We avoid Unsafe, since newer JVMs produce warnings or even errors for attempts to use it.
           *
           * In guava-jre, we avoid Unsafe by using VarHandle instead. But if we have references to
           * VarHandle in guava-android, even if they're unused under Android, we cause errors under
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

         */
        public void setServer(final String server) {
            this.server = server;
        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 09:30:17 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. cmd/xl-storage.go

    	// Small file threshold below which data accompanies metadata from storage layer.
    	smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs
    
    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/BufferCacheImplTest.java

        void releaseStoresAndZeroesBuffer() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 10);
    
            byte[] b = new byte[10];
            // Fill with non-zero to verify zeroing on release
            for (int i = 0; i < b.length; i++) {
                b[i] = (byte) (i + 1);
            }
    
            // Act: release should zero immediately to avoid leaks
            impl.releaseBuffer(b);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

            return revision;
        }
    
        public String getOrigin() {
            return origin;
        }
    
        public static GitInfo gitInfo(File rootDir) {
            try {
                /*
                 * We want to avoid forking another process to run git rev-parse HEAD. Instead, we will read the refs manually. The
                 * documentation for this follows from https://git-scm.com/docs/gitrepository-layout and https://git-scm.com/docs/git-worktree.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                );
            }));
    
        }
    
        private void maybeSkipTasks(TaskContainer tasks, Provider<DockerSupportService> dockerSupport, Class<? extends DefaultTask> taskClass) {
            tasks.withType(taskClass).configureEach(t -> maybeSkipTask(dockerSupport, t));
        }
    
        private void maybeSkipTask(Provider<DockerSupportService> dockerSupport, TaskProvider<Task> task) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
Back to Top