Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 2,318 for Fset (0.03 sec)

  1. docs/zh/docs/tutorial/body-nested-models.md

    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ////
    
    ## Set 类型
    
    但是随后我们考虑了一下,意识到标签不应该重复,它们很大可能会是唯一的字符串。
    
    Python 具有一种特殊的数据类型来保存一组唯一的元素,即 `set`。
    
    然后我们可以导入 `Set` 并将 `tag` 声明为一个由 `str` 组成的 `set`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial003_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          GregorianCalendar(UTC).apply {
            isLenient = false
            set(Calendar.YEAR, year)
            set(Calendar.MONTH, month - 1)
            set(Calendar.DAY_OF_MONTH, dayOfMonth)
            set(Calendar.HOUR_OF_DAY, hour)
            set(Calendar.MINUTE, minute)
            set(Calendar.SECOND, second)
            set(Calendar.MILLISECOND, 0)
            return timeInMillis
          }
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMultimap.java

      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          return Sets.equalsImpl(this, obj);
        }
      }
    
      abstract Iterator<Entry<K, V>> entryIterator();
    
      @LazyInit @CheckForNull private transient Set<K> keySet;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            Objects.requireNonNull(project, "project cannot be null");
    
            Set<String> projectIds = new HashSet<>();
    
            getDownstreamProjects(ProjectSorter.getId(project), projectIds, transitive);
    
            return getSortedProjects(projectIds);
        }
    
        private void getDownstreamProjects(String projectId, Set<String> projectIds, boolean transitive) {
            for (String id : sorter.getDependents(projectId)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/setup.sources.sh

    # Usage: setup.python.sh <pyversion> <requirements.txt>
    
    # Sets up custom apt sources for our TF images.
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    # Set up shared custom sources
    apt-get update
    apt-get install -y gnupg ca-certificates
    
    # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 18:56:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. callbacks/create.go

    							stmt.AddError(field.Set(stmt.Context, rv, field.DefaultValueInterface))
    						} else if field.AutoCreateTime > 0 || field.AutoUpdateTime > 0 {
    							stmt.AddError(field.Set(stmt.Context, rv, curTime))
    							values.Values[i][idx], _ = field.ValueOf(stmt.Context, rv)
    						}
    					} else if field.AutoUpdateTime > 0 && updateTrackTime {
    						stmt.AddError(field.Set(stmt.Context, rv, curTime))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. callbacks/preload.go

    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		switch rel.Type {
    		case schema.HasMany, schema.Many2Many:
    			tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue, reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    		default:
    			tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue, reflect.New(rel.Field.FieldType).Interface()))
    		}
    	case reflect.Slice, reflect.Array:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      TF_Operation* Use(const std::vector<TF_Operation*>& inputs) {
        return UseT(ToOutput(inputs));
      }
    
      TF_Operation* UseT(const std::vector<TF_Output>& inputs) {
        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                            log.debug("sessionSetup: " + this.credentials);
                        }
    
                        /*
                         * We explicitly set uid to 0 here to prevent a new
                         * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                         * old value when the session is re-established. Otherwise a
                         * "The parameter is incorrect" error can occur.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  10. internal/http/listener_test.go

    	}
    
    	testCases := []struct {
    		serverAddrs   []string
    		expectedAddrs set.StringSet
    	}{
    		{[]string{"localhost:" + casePorts[0]}, set.CreateStringSet("127.0.0.1:" + casePorts[0])},
    		{[]string{nonLoopBackIP + ":" + casePorts[1]}, set.CreateStringSet(nonLoopBackIP + ":" + casePorts[1])},
    		{[]string{"127.0.0.1:" + casePorts[2], nonLoopBackIP + ":" + casePorts[2]}, set.CreateStringSet("127.0.0.1:"+casePorts[2], nonLoopBackIP+":"+casePorts[2])},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top