Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 6,799 for _return (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @CheckForNull
        Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
        }
      }
    
      @Override
      public final String toString() {
        Runnable state = get();
        String result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public Range<K> getKey() {
          return range;
        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        public boolean contains(K value) {
          return range.contains(value);
        }
    
        Cut<K> getLowerBound() {
          return range.lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return range.upperBound;
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  3. cmd/metacache-set_gen.go

    		return
    	}
    	// write "pool"
    	err = en.Append(0xa4, 0x70, 0x6f, 0x6f, 0x6c)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.pool)
    	if err != nil {
    		err = msgp.WrapError(err, "pool")
    		return
    	}
    	// write "set"
    	err = en.Append(0xa3, 0x73, 0x65, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.set)
    	if err != nil {
    		err = msgp.WrapError(err, "set")
    		return
    	}
    	return
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    ## Recap
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/routers.go

    	// Add STS router always.
    	registerSTSRouter(router)
    
    	// Add KMS router
    	registerKMSRouter(router)
    
    	// Add API router
    	registerAPIRouter(router)
    
    	router.Use(globalMiddlewares...)
    
    	return router, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    * It will **limit and filter** the output data to what is defined in the return type.
        * This is particularly important for **security**, we'll see more of that below.
    
    ## `response_model` Parameter
    
    There are some cases where you need or want to return some data that is not exactly what the type declares.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertEquals(expectedBytes / chunkSize, processCalled);
          assertEquals(expectedBytes % chunkSize != 0, remainingCalled);
        }
    
        // returns the minimum x such as x >= a && (x % b) == 0
        private static int ceilToMultiple(int a, int b) {
          int remainder = a % b;
          return remainder == 0 ? a : a + b - remainder;
        }
    
        void assertBytes(byte[] expected) {
          byte[] got = out.toByteArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top