Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 2,145 for else_ (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

            this.withLock {
              runningAsyncCalls.remove(asyncCall)
            }
    
            asyncCall.failRejected()
          }
          idleCallback?.run()
        } else {
          for (i in 0 until executableCalls.size) {
            val asyncCall = executableCalls[i]
            asyncCall.executeOn(executorService)
          }
        }
    
        return isRunning
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            }));
            if (!form.hasConditionQuery()) {
                if (StringUtil.isNotBlank(form.q)) {
                    form.as.put("q", new String[] { form.q });
                } else {
                    // TODO set default?
                }
            }
            return asHtml(virtualHost(path_AdvanceJsp)).renderWith(data -> {
                buildInitParams();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        // Check the ranges.
        for (r in 0 until rangesOffsets.size) {
          val rangePos = rangesOffsets[r] * 4
          val rangeLimit =
            when {
              r + 1 < rangesOffsets.size -> rangesOffsets[r + 1] * 4
              else -> rangesOffsets.size * 4
            }
    
          // Confirm this range starts with byte 0.
          assertThat(compactTable.ranges[rangePos].code).isEqualTo(0)
    
          // Confirm this range's index byte is increasing.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="5  12-16"
    {!> ../../docs_src/security/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="5  12-16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      // gc'd even if there is a still a FinalizableReferenceQueue in a static field. (Setting the field
      // to null would also work, but only if there are no references to the FRQ anywhere else.)
      private WeakReference<ClassLoader> doTestUnloadableInStaticFieldIfClosed() throws Exception {
        final ClassLoader myLoader = getClass().getClassLoader();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. internal/event/target/kafka.go

    		target.batch.Close()
    	}
    
    	if target.producer != nil {
    		if target.store != nil {
    			// It is safe to abort the current transaction if
    			// queue_dir is configured
    			target.producer.AbortTxn()
    		} else {
    			target.producer.CommitTxn()
    		}
    		target.producer.Close()
    		return target.client.Close()
    	}
    
    	return nil
    }
    
    func (target *KafkaTarget) init() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    		c := make(chan bool)
    		var data [4 << 10]uint64
    		for i := 0; pb.Next(); i++ {
    			if i%4 == 0 {
    				m.Lock(id, source)
    				acc0 -= 100
    				acc1 += 100
    				m.Unlock(context.Background())
    			} else {
    				for i := 0; i < len(data); i += 4 {
    					data[i]++
    				}
    				// Elaborate way to say runtime.Gosched
    				// that does not put the goroutine onto global runq.
    				go func() {
    					c <- true
    				}()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        if (localInputFuture != null) {
          resultString = "inputFuture=[" + localInputFuture + "], ";
        }
        if (localFunction != null) {
          return resultString + "function=[" + localFunction + "]";
        } else if (superString != null) {
          return resultString + superString;
        }
        return null;
      }
    
      /**
       * An {@link AbstractTransformFuture} that delegates to an {@link AsyncFunction} and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

            }
            pkgs = System.getProperty( "java.protocol.handler.pkgs" );
            if( pkgs == null ) {
                System.setProperty( "java.protocol.handler.pkgs", "jcifs.smb1" );
            } else if( pkgs.indexOf( "jcifs.smb1" ) == -1 ) {
                pkgs += "|jcifs.smb1";
                System.setProperty( "java.protocol.handler.pkgs", pkgs );
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

      }
    
      companion object {
        @JvmOverloads
        fun body(
          hex: String,
          charset: String? = null,
        ): ResponseBody {
          val mediaType = if (charset == null) null else "any/thing; charset=$charset".toMediaType()
          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
          val builder = StringBuilder()
          val buf = CharArray(10)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top