Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 2,189 for else_ (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

                hostname.lastIndexOf('.', prefixLength - 1) == -1
            }
            else -> hostname == pattern
          }
    
        fun matchesCertificate(certificate: X509Certificate): Boolean =
          when (hashAlgorithm) {
            "sha256" -> hash == certificate.sha256Hash()
            "sha1" -> hash == certificate.sha1Hash()
            else -> false
          }
    
        override fun toString(): String = "$hashAlgorithm/${hash.base64()}"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.1K bytes
    - Click Count (1)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        off += cnt;
                    } else if (this.useNTSmbs) {
                        this.reqx.setParam(fh.getFid(), this.fp, len - w, b, off, w);
                        if ((flags & 1) != 0) {
                            this.reqx.setParam(fh.getFid(), this.fp, len, b, off, w);
                            this.reqx.setWriteMode(0x8);
                        } else {
                            this.reqx.setWriteMode(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

                listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
        })
        jvmArgumentProviders.add(CommandLineArgumentProvider {
            val testVersion = testVersionProvider.get()
            if (testVersion.canCompileOrRun(9) && !testVersion.canCompileOrRun(17)) {
                listOf("--illegal-access=deny")
            } else {
                emptyList()
            }
        })
        useJUnitPlatform()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:15:47 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

      override fun isSupported(): Boolean = isSupported
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        when {
          matchesSocket(sslSocket) -> Conscrypt.getApplicationProtocol(sslSocket)
          else -> null // No TLS extensions if the socket class is custom.
        }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.unindent();
            } else if (!result.modifiedPoms().isEmpty()) {
                context.success("Strategy completed successfully");
                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.success("Modified: " + result.modifiedPoms().size() + " POMs");
                context.unindent();
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. cmd/erasure-server-pool-decom_gen.go

    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "QueuedBuckets")
    				return
    			}
    			if cap(z.QueuedBuckets) >= int(zb0002) {
    				z.QueuedBuckets = (z.QueuedBuckets)[:zb0002]
    			} else {
    				z.QueuedBuckets = make([]string, zb0002)
    			}
    			for za0001 := range z.QueuedBuckets {
    				z.QueuedBuckets[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "QueuedBuckets", za0001)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/ArrayMap.java

                        if (prev != null) {
                            prev.next = e.next;
                        } else {
                            mapTable[index] = e.next;
                        }
                        return e;
                    }
                }
            } else {
                for (Entry<K, V> e = mapTable[index], prev = null; e != null; prev = e, e = e.next) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  8. internal/logger/target/http/http.go

    	defer func() {
    		if err != nil {
    			if xnet.IsNetworkOrHostDown(err, false) {
    				h.status.Store(statusOffline)
    			}
    			h.failedMessages.Add(int64(payloadCount))
    		} else {
    			h.status.Store(statusOnline)
    		}
    	}()
    
    	ctx, cancel := context.WithTimeout(ctx, timeout)
    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

      } finally {
        if (loggingEnabled) {
          val elapsedNs = queue.taskRunner.backend.nanoTime() - startNs
          if (completedNormally) {
            log(task, queue, "finished run in ${formatDuration(elapsedNs)}")
          } else {
            log(task, queue, "failed a run in ${formatDuration(elapsedNs)}")
          }
        }
      }
    }
    
    private fun Logger.log(
      task: Task,
      queue: TaskQueue,
      message: String,
    ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            final boolean isByteStream = inputStream instanceof ByteArrayInputStream;
            if (isByteStream) {
                inputStream.mark(0); // ByteArrayInputStream
                tempFile = null;
            } else {
                tempFile = createTempFile("tikaExtractor-", ".out", null);
            }
    
            try {
                final PrintStream originalOutStream = System.out;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 30.8K bytes
    - Click Count (0)
Back to Top