Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1941 - 1950 of 6,241 for If (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

        /**
         * Gets the global settings file.
         *
         * @return The global settings file or {@code null} if none.
         */
        File getGlobalSettingsFile();
    
        /**
         * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
         * settings and global settings are given, the user settings take precedence.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tests/non_std_test.go

    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    		t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name)
    	}
    
    	// When changing a field with a default value, the change must occur
    	animal.Name = "amazing horse"
    	DB.Save(&animal)
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "amazing horse" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            arguments.add(guard);
            if (isDurationBased(method)) {
              arguments.add(Duration.ZERO);
            }
            if (isLongTimeUnitBased(method)) {
              arguments.add(0L);
              arguments.add(TimeUnit.MILLISECONDS);
            }
            boolean occupyMonitor = isWaitFor(method);
            if (occupyMonitor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if ( rem == 0 ) {
                return size;
            }
            if ( rem < 0 ) {
                rem = 8 + rem;
            }
            return size + 8 - rem;
        }
    
    
        /**
         * @param dstIndex
         * @return
         */
        protected final int pad8 ( int dstIndex ) {
            int fromHdr = dstIndex - this.headerStart;
            int rem = fromHdr % 8;
            if ( rem == 0 ) {
                return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                    logger.debug("loading {}", resource);
                    if ("file".equals(resource.getProtocol())) {
                        final File directory = new File(resource.getFile());
                        if (directory.exists() && directory.isDirectory()) {
                            final File[] files = directory.listFiles(File::isDirectory);
                            if (files != null) {
                                for (final File file : files) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmServlet.java

                name = (String) e.nextElement();
                if (name.startsWith("jcifs.smb1.")) {
                    Config.setProperty(name, config.getInitParameter(name));
                }
            }
            defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain");
            domainController = Config.getProperty("jcifs.smb1.http.domainController");
            if( domainController == null ) {
                domainController = defaultDomain;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4_test.go

    	for i, tt := range testCases {
    		chunkSize, chunkSignature, err := readChunkLine(tt.reader)
    		if err != tt.expectedErr {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err)
    		}
    		if !bytes.Equal(chunkSize, tt.chunkSize) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSize), string(chunkSize))
    		}
    		if !bytes.Equal(chunkSignature, tt.chunkSignature) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                List<MetadataGraphEdge> exits = graph.getExcidentEdges(node);
    
                if (exits != null && exits.size() > 0) {
                    MetadataGraphEdge[] sortedExits = exits.toArray(new MetadataGraphEdge[0]);
                    Arrays.sort(sortedExits, (e1, e2) -> {
                        if (e1.getDepth() == e2.getDepth()) {
                            if (e2.getPomOrder() == e1.getPomOrder()) {
                                return e1.getTarget()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        // TODO(lowasser): make this trigger only if the map is a submap
        // currently, the KeySetGenerator won't work properly for a subset of a keyset of a submap
        keySetFeatures.add(CollectionFeature.SUBSET_VIEW);
        if (mapFeatures.contains(MapFeature.ALLOWS_NULL_KEYS)) {
          keySetFeatures.add(CollectionFeature.ALLOWS_NULL_VALUES);
        } else if (mapFeatures.contains(MapFeature.ALLOWS_NULL_KEY_QUERIES)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top