Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 1,521 for cases (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Test case for {@link TrustedListenableFutureTask}. */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class TrustedListenableFutureTaskTest extends TestCase {
    
      public void testSuccessful() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CaseFormat.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * Utility class for converting between various ASCII case formats. Behavior is undefined for
     * non-ASCII input.
     *
     * @author Mike Bostock
     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum CaseFormat {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/sql-databases.md

    /// tip | Dica
    
    Você pode usar qualquer outra biblioteca de banco de dados SQL ou NoSQL que quiser (em alguns casos chamadas de <abbr title="Object Relational Mapper, um termo sofisticado para uma biblioteca onde algumas classes representam tabelas SQL e instâncias representam linhas nessas tabelas">"ORMs"</abbr>), o FastAPI não obriga você a usar nada. 😎
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-operation-configuration.md

    ### Tags com Enums
    
    Se você tem uma grande aplicação, você pode acabar acumulando **várias tags**, e você gostaria de ter certeza de que você sempre usa a **mesma tag** para *operações de rota* relacionadas.
    
    Nestes casos, pode fazer sentido armazenar as tags em um `Enum`.
    
    **FastAPI** suporta isso da mesma maneira que com strings simples:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../docs_src/path_operation_configuration/tutorial002b.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. cmd/erasure-encode_test.go

    			}
    			for j := range disks[:test.offDisks] {
    				switch w := writers[j].(type) {
    				case *wholeBitrotWriter:
    					w.disk = badDisk{nil}
    				case *streamingBitrotWriter:
    					w.closeWithErr(errFaultyDisk)
    				}
    			}
    			if test.offDisks > 0 {
    				writers[0] = nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                final Map<String, Object> entity = new HashMap<>();
                entity.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(entity));
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                final String docId;
                if (form.doc != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

        private static OptionalEntity<CharMappingItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final CharMappingItem entity = new CharMappingItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/packaging/rpm/init.d/fess

    }
    
    rh_status() {
        # run checks to determine if the service is running or use generic status
        status -p $pidfile $prog
    }
    
    rh_status_q() {
        rh_status >/dev/null 2>&1
    }
    
    
    case "$1" in
        start)
            rh_status_q && exit 0
            $1
            ;;
        stop)
            rh_status_q || exit 0
            $1
            ;;
        restart)
            $1
            ;;
        reload)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

         * @since 31.0
         */
        public ImmutableTable<R, C, V> buildOrThrow() {
          int size = cells.size();
          switch (size) {
            case 0:
              return of();
            case 1:
              return new SingletonImmutableTable<>(getOnlyElement(cells));
            default:
              return RegularImmutableTable.forCells(cells, rowComparator, columnComparator);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            int length = in.length, prefixLen = 0, state = 0;
    
            /*
             * The canonicalization routine
             */
            for ( int i = 0; i < length; i++ ) {
                switch ( state ) {
                case 0:
                    if ( in[ i ] != '/' ) {
                        // Checked exception (e.g. MalformedURLException) would be better
                        // but this would be a nightmare API wise
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
Back to top