Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 2,189 for else_ (0.04 seconds)

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

        for (int i = 0; i < paramTypes.length; i++) {
          Class<?> paramType = paramTypes[i];
          if (paramType.equals(String.class)) {
            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
            params[i] = cause;
          } else {
            return null;
          }
        }
        try {
          return constructor.newInstance(params);
        } catch (IllegalArgumentException
            | InstantiationException
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. internal/lsync/lrwmutex_test.go

    	locked = lrwm.GetLock(ctx, "", "", duration)
    	if locked {
    		// fmt.Println("Write lock acquired, waiting...")
    		time.Sleep(1 * time.Second)
    
    		lrwm.Unlock()
    	} else {
    		t.Log("Write lock failed due to timeout")
    	}
    	return locked
    }
    
    func TestSimpleWriteLockAcquired(t *testing.T) {
    	locked := testSimpleWriteLock(t, 5*time.Second)
    
    	expected := true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

                        break;
                    }
                    if (i < len && data[i] == '.') {
                        dots++;
                        i++;
                    }
                }
            } else {
                switch (this.hostName.hexCode) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    this.calledName = SMBSERVER_NAME;
                }
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
          String.format("%s\t%s%n", time.format(d), message)
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Click Count (1)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof AndArtifactFilter other) {
                return filters.equals(other.filters);
            } else {
                return false;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt

                        "org.gradle.ci.agentCount" to 2,
                        "org.gradle.ci.agentNum" to BuildEnvironment.agentNum
                    ).map {
                        "-D${it.key}=${it.value}"
                    }
            } else {
                listOf()
            }
        }
    
        private
        fun getToolchainInstallationPathsProperty(): List<String> {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 19 10:37:27 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. cmd/generic-handlers.go

    				}
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrAllAccessDisabled), r.URL)
    				return
    			}
    		} else {
    			// Validate bucket names if it is not empty
    			if bucketName != "" && s3utils.CheckValidBucketNameStrict(bucketName) != nil {
    				if ok {
    					tc.FuncName = "handler.ValidRequest"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKeywordMarkerFilterFactory.java

            super(indexSettings, name, settings);
    
            final String path = settings.get("keywords_path");
            if (path != null) {
                keywordPath = environment.configDir().resolve(path);
            } else {
                keywordPath = null;
            }
    
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

            super(indexSettings, name, settings);
    
            final String path = settings.get("stopwords_path");
            if (path != null) {
                stopwordPath = environment.configDir().resolve(path);
            } else {
                stopwordPath = null;
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", false);
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. buildSrc/src/main/kotlin/AlpnVersions.kt

        in 102..111 -> "8.1.9.v20160720"
        in 112..120 -> "8.1.10.v20161026"
        in 121..160 -> "8.1.11.v20170118"
        in 161..181 -> "8.1.12.v20180117"
        in 191..242 -> "8.1.13.v20181017"
        else -> null
      }
    
    /**
     * Returns the alpn-boot version specific to this OpenJDK 8 JVM, or null if this is not a Java 8 VM.
     * https://github.com/xjdr/xio/blob/master/alpn-boot.gradle
     */
    fun alpnBootVersion(): String? {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top