Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2821 - 2830 of 6,702 for If (0.01 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       *     sequential order as produced by the iterator for the given task list. If the operation did
       *     not time out, each task will have completed. If it did time out, some of these tasks will
       *     not have completed.
       * @throws RejectedExecutionException {@inheritDoc}
       * @throws NullPointerException if any task is null
       */
      @Override
      <T extends @Nullable Object> List<Future<T>> invokeAll(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Callables.java

          try {
            task.run();
          } finally {
            if (restoreName) {
              boolean unused = trySetName(oldName, currentThread);
            }
          }
        };
      }
    
      /** Tries to set name of the given {@link Thread}, returns true if successful. */
      @J2ktIncompatible
      @GwtIncompatible // threads
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

          boolean doEquals(byte[] a, byte[] b) {
            if (a.length != b.length) {
              return false;
            }
            boolean areEqual = true;
            for (int i = 0; i < a.length; i++) {
              areEqual &= a[i] == b[i];
            }
            return areEqual;
          }
        },
        XORING_TO_BYTE {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            if (a.length != b.length) {
              return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. cmd/metrics-v3-cluster-erasure-set.go

    		readTolerance := float64(h.HealthyDrives - h.ReadQuorum)
    		if readTolerance < 0 {
    			readHealthy = false
    		}
    		m.Set(erasureSetReadTolerance, readTolerance, labels...)
    		m.Set(erasureSetReadHealth, b2f(readHealthy), labels...)
    
    		writeHealthy := true
    		writeTolerance := float64(h.HealthyDrives + h.HealingDrives - h.WriteQuorum)
    		if writeTolerance < 0 {
    			writeHealthy = false
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 14 07:25:56 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. internal/disk/stat_windows.go

    //
    // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    func GetInfo(path string, _ bool) (info Info, err error) {
    	// Stat to know if the path exists.
    	if _, err = os.Stat(path); err != nil {
    		return Info{}, err
    	}
    
    	lpFreeBytesAvailable := int64(0)
    	lpTotalNumberOfBytes := int64(0)
    	lpTotalNumberOfFreeBytes := int64(0)
    
    	// Extract values safely
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
         *         {@code false} if the current key mapping didn't match the expected value and was not updated.
         */
        <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

         *
         * @param resourcePath The path to the resource file (e.g., "suggest_indices/suggest.json")
         * @return The content of the resource file as a string
         * @throws IOException If an I/O error occurs or the resource is not found
         */
        public static String loadJsonResource(final String resourcePath) throws IOException {
            return loadJsonResource(resourcePath, Collections.emptyMap());
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  8. internal/arn/arn_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			gotArn, err := Parse(tt.args.arnStr)
    			if err == nil && tt.wantErr {
    				t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err != nil && !tt.wantErr {
    				t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err == nil {
    				if !reflect.DeepEqual(gotArn, tt.wantArn) {
    					t.Errorf("Parse() gotArn = %v, want %v", gotArn, tt.wantArn)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            // In real implementation, this would convert to DiSNI constants:
            // if (access.contains(RdmaAccess.LOCAL_READ)) {
            //     flags |= IbvMr.IBV_ACCESS_LOCAL_READ;
            // }
            // if (access.contains(RdmaAccess.LOCAL_WRITE)) {
            //     flags |= IbvMr.IBV_ACCESS_LOCAL_WRITE;
            // }
            // if (access.contains(RdmaAccess.REMOTE_READ)) {
            //     flags |= IbvMr.IBV_ACCESS_REMOTE_READ;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

        }
    
        public void setSource(Model source) {
            this.sourceModel = source;
            this.source = null;
    
            if (rootModel == null) {
                rootModel = source;
            }
        }
    
        private String getSource() {
            if (source == null && sourceModel != null) {
                source = ModelProblemUtils.toPath(sourceModel);
            }
            return source;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top