Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 327 for Polling (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    So, a Python class is also a **callable**.
    
    Then, in **FastAPI**, you could use a Python class as a dependency.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. ci/official/utilities/setup_macos.sh

      # VMs.
      pyenv install -s "3.11"
      if [[ $? -eq 0 ]]; then
        pyenv local "3.11"
        export CLOUDSDK_PYTHON=$(pyenv which python3.11)
      else
        echo "Python 3.11 not found, falling back to system python"
        export CLOUDSDK_PYTHON=$(which python3)
      fi
      gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}"
    fi
    set -x
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Oct 06 22:42:26 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.write(new byte[1000]);
            assertTrue(cos.isInMemory());
            cos.close();
        }
    
        @Test
        public void testMultipleGetFile() throws IOException {
            // Calling getFile() multiple times should return the same file
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5 });
            File file1 = cos.getFile();
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Wed Nov 12 14:01:04 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. cmd/object-api-listobjects_test.go

    						}
    					}
    				}
    			}
    		})
    	}
    }
    
    // Wrapper for calling ListObjectsOnVersionedBuckets tests for both
    // Erasure multiple disks and single node setup.
    func TestListObjectsOnVersionedBuckets(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjectsOnVersionedBuckets)
    }
    
    // Wrapper for calling ListObjects tests for both Erasure multiple
    // disks and single node setup.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

                        name, currentState, totalRequests, totalSuccesses, totalFailures, totalRejections, successRate, availability);
            }
        }
    
        /**
         * Hystrix-style rolling window for time-based metrics collection
         */
        private static class RollingWindow {
            private final int numberOfBuckets;
            private final long bucketSizeInMillis;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

            // Act
            long actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    
        @Test
        @DisplayName("Calling a method on null reference throws NPE")
        void nullReference_throwsNPE() {
            // Arrange
            FileEntry e = null;
            // Act & Assert: demonstrate invalid usage results in NPE
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

                try {
                    return new RdmaTransport(context, address, provider);
                } catch (IOException e) {
                    log.warn("Failed to create RDMA transport, falling back to TCP", e);
                }
            }
        }
        
        // Fall back to TCP
        return new SmbTransport(context, address.getAddress(), address.getPort());
    }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Tables.java

        }
      }
    
      /**
       * Creates a transposed view of a given table that flips its row and column keys. In other words,
       * calling {@code get(columnKey, rowKey)} on the generated table always returns the same value as
       * calling {@code get(rowKey, columnKey)} on the original table. Updating the original table
       * changes the contents of the transposed table and vice versa.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. maven-tests/mvnw

      curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl"
    elif set_java_home; then
      verbose "Falling back to use Java to download"
      javaSource="$TMP_DOWNLOAD_DIR/Downloader.java"
      targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName"
      cat >"$javaSource" <<-END
    	public class Downloader extends java.net.Authenticator
    	{
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                return (T) Long.valueOf(value.longValue());
            }
            return (T) field;
        }
    
        /**
         * Iterates through all access results for a session, calling the callback for each result.
         * Uses OpenSearch scroll API for efficient iteration over large result sets.
         *
         * @param sessionId The session ID.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top