Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3251 - 3260 of 3,487 for init (0.03 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        extends AbstractTableReadTest<C> {
    
      protected void populate(Table<String, Integer, C> table, @Nullable Object... data) {
        checkArgument(data.length % 3 == 0);
        for (int i = 0; i < data.length; i += 3) {
          table.put(
              (String) data[i], (Integer) data[i + 1], nullableCellValue((Character) data[i + 2]));
        }
      }
    
      protected boolean supportsRemove() {
        return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

         * @param scope cache scope
         * @return lease key or null if not supported
         * @throws SmbException if an error occurs
         */
        public static Smb2LeaseKey requestDirectoryLease(SmbFile smbFile, int requestedState, DirectoryCacheScope scope) throws SmbException {
            if (!smbFile.isDirectory()) {
                throw new SmbException("Directory leasing only supported for directories");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                            && Objects.equals(type, that.type)
                            && Objects.equals(coordinatesString, that.coordinatesString);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(groupId, artifactId, version, classifier, extension, type, coordinatesString);
                }
    
                @Override
                public String toString() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. cmd/data-usage-utils.go

    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    		if infos[j].Type == "internal" {
    			return false
    		}
    		return infos[i].Name < infos[j].Name
    	})
    	return infos
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/archive/tar/tar_test.go

    // testFile is an io.ReadWriteSeeker where the IO operations performed
    // on it must match the list of operations in ops.
    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, io.EOF
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Read operation")
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. maven-tests/mvnw

    esac
    
    # prepare tmp dir
    if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
      clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
      trap clean HUP INT TERM EXIT
    else
      die "cannot create temp dir"
    fi
    
    mkdir -p -- "${MAVEN_HOME%/*}"
    
    # Download and Install Apache Maven
    verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Get the number of active handles
         * @return the number of handles
         */
        public int getHandleCount() {
            return handles.size();
        }
    
        private void periodicMaintenance() {
            if (shutdown) {
                return;
            }
    
            lock.writeLock().lock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMin, isMin)
    		}
    	}
    }
    
    // Tests maximum allowed part number.
    func TestMaxPartID(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		partN int
    	}{
    		// Test - 1 part number within max part number.
    		{
    			false,
    			globalMaxPartID - 1,
    		},
    		// Test - 2 part number bigger than max part number.
    		{
    			true,
    			globalMaxPartID + 1,
    		},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.exception.GsaConfigException;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.opensearch.config.exentity.LabelType;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    
    public class GsaConfigParserTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top