Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2601 - 2610 of 3,507 for int (0.02 sec)

  1. docs/nl/docs/features.md

    from pydantic import BaseModel
    
    # Declareer een variabele als een str
    # en krijg editorondersteuning in de functie
    def main(user_id: str):
        return user_id
    
    
    # Een Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Vervolgens kan je het op deze manier gebruiken:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/metacache_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *metacache) Msgsize() (s int) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            @Override
            public InputStream getErrorStream() {
                return null;
            }
    
            @Override
            public int waitFor() throws InterruptedException {
                return 0;
            }
    
            @Override
            public int exitValue() {
                return 0;
            }
    
            @Override
            public void destroy() {
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testMultipleFailuresExceedRetryLimit() {
            IOException error = new IOException("Connection failed");
    
            // Simulate multiple failures
            for (int i = 0; i < 5; i++) {
                failover.handleFailure(failedChannel, error);
            }
    
            // Should eventually remove the channel
            verify(mockChannelManager, atLeast(1)).removeChannel(failedChannel);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. cmd/ftp-server.go

    		}
    	}
    }
    
    // PrintResponse implement Logger
    func (log *minioLogger) PrintResponse(sessionID string, code int, message string) {
    	if serverDebugLog {
    		fmt.Printf("%s < %d %s\n", sessionID, code, message)
    	}
    }
    
    func startFTPServer(args []string) {
    	var (
    		port          int
    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    		forceTLS      bool
    	)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics_gen.go

    				return
    			}
    			if z.ErrCounts == nil {
    				z.ErrCounts = make(map[string]int, zb0003)
    			} else if len(z.ErrCounts) > 0 {
    				for key := range z.ErrCounts {
    					delete(z.ErrCounts, key)
    				}
    			}
    			for zb0003 > 0 {
    				zb0003--
    				var za0001 string
    				var za0002 int
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "ErrCounts")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
              public int compare(String o1, String o2) {
                return o2.compareTo(o1);
              }
            };
        TreeMultiset<String> ms = TreeMultiset.create(comparator);
    
        ms.add("b");
        ms.add("c");
        ms.add("a");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  protected Set<String> create(String[] elements) {
                    String[] deduped = dedupe(elements);
                    return new AbstractSet<String>() {
                      @Override
                      public int size() {
                        return deduped.length;
                      }
    
                      @Override
                      public Iterator<String> iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            }
            if (mocks != null) {
                mocks.close();
            }
        }
    
        @Test
        public void testRequestDirectoryLease() {
            String directoryPath = "/test/dir";
            int requestedState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
            Smb2LeaseKey expectedKey = new Smb2LeaseKey();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/InvalidatableSet.java

      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top