Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Loops (0.04 sec)

  1. guava/src/com/google/common/graph/Network.java

       * self-loops twice (equivalently, the number of times an edge touches {@code node}).
       *
       * <p>For directed networks, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected networks, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	slices.Sort(setCounts)
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. RELEASE.md

            scaling with distribution strategy and custom training loops. `AUTO`
            indicates that the reduction option will be determined by the usage
            context. For almost all cases this defaults to `SUM_OVER_BATCH_SIZE`.
            When used in distribution strategy scope, outside of built-in training
            loops such as `tf.keras` `compile` and `fit`, we expect reduction value
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  4. cmd/iam.go

    }
    
    // DeletePolicy - deletes a canned policy from backend. `notifyPeers` is true
    // whenever this is called via the API. It is false when called via a
    // notification from another peer. This is to avoid infinite loops.
    func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	for _, v := range policy.DefaultPolicies {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         */
        @Test
        @DisplayName("Message + root cause stores root cause")
        void testStringAndThrowableConstructor() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException("oops", root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that {@link #toString()} includes a stack trace when a root cause
         * is present.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            assertNotNull(ex.toString(), "toString should be safe to call");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "oops", "multi word", "中文" })
        @DisplayName("Message+Cause constructor: preserves both values; no interactions with cause")
        void messageAndCauseConstructor_preservesBoth(String message) {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    					f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0)
    					if err != nil {
    						t.Fatalf("Failed to open %s: %s\n", filePath, err)
    					}
    					f.WriteString("oops") // Will cause bitrot error
    					f.Close()
    					break
    				}
    			}
    
    			rQuorum := len(errs) - z.serverPools[0].sets[0].defaultParityCount
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/handling-errors.md

    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Technical Details
    
    You could also use `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * Add link to Starlette docs about WebSocket testing. PR [#1717](https://github.com/tiangolo/fastapi/pull/1717) by [@hellocoldworld](https://github.com/hellocoldworld).
    * Refactor generating dependant, merge for loops. PR [#1714](https://github.com/tiangolo/fastapi/pull/1714) by [@Bloodielie](https://github.com/Bloodielie).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top