Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5071 - 5080 of 5,353 for Return (0.07 sec)

  1. api/maven-api-plugin/src/main/mdo/plugin.mdo

          <codeSegments>
            <codeSegment>
              <version>2.0.0+</version>
              <code><![CDATA[
        public String getPluginLookupKey() {
            return groupId + ":" + artifactId;
        }
    
        public String getId() {
            return groupId + ":" + artifactId + ":" + version;
        }
    
              ]]></code>
            </codeSegment>
          </codeSegments>
        </class>
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. docs/em/docs/deployment/docker.md

    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### ๐Ÿ“
    
    ๐Ÿ”œ ๐ŸŽ ๐Ÿ— ๐Ÿ“ โœ ๐Ÿ“ `Dockerfile` โฎ๏ธ:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    		for _, objectName := range objectNames {
    			objectList = append(objectList, ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: objectName,
    				},
    			})
    		}
    
    		return objectList
    	}
    
    	getDeleteErrorList := func(objects []ObjectToDelete) (deleteErrorList []DeleteError) {
    		for _, obj := range objects {
    			deleteErrorList = append(deleteErrorList, DeleteError{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  4. cmd/kms-handlers_test.go

    	}
    	registerKMSRouter(adminTestBed.router)
    
    	if enableKMS {
    		GlobalKMS = kms.NewStub("default-test-key")
    	}
    
    	tearDown := func() {
    		adminTestBed.TearDown()
    		GlobalKMS = nil
    	}
    	return adminTestBed, tearDown
    }
    
    func buildKMSRequest(t *testing.T, method, path, accessKey, secretKey string, query map[string]string) *http.Request {
    	if len(query) > 0 {
    		queryVal := url.Values{}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. docs/ja/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # ใƒใƒณใƒใƒผใ‚ฌใƒผใ‚’ไฝœๆˆใ™ใ‚‹ใŸใ‚ใซ้žๅŒๆœŸๅ‡ฆ็†ใ‚’ๅฎŸ่กŒ
        return burgers
    ```
    
    ...`def` ใฎใ‹ใ‚ใ‚Šใซ:
    
    ```Python hl_lines="2"
    # ้žๅŒๆœŸใงใฏใชใ„
    def get_sequential_burgers(number: int):
        # ใƒใƒณใƒใƒผใ‚ฌใƒผใ‚’ไฝœๆˆใ™ใ‚‹ใŸใ‚ใซใ‚ทใƒผใ‚ฑใƒณใ‚ทใƒฃใƒซใชๅ‡ฆ็†ใ‚’ๅฎŸ่กŒ
        return burgers
    ```
    `async def` ใ‚’ไฝฟ็”จใ™ใ‚‹ใจใ€Pythonใซใใฎ้–ขๆ•ฐๅ†…ใง `await` ๅผ (ใใฎ้–ขๆ•ฐใฎๅฎŸ่กŒใ‚’ใ€Œไธ€ๆ™‚ๅœๆญขโธใ€ใ—ใ€็ตๆžœใŒๆˆปใ‚‹ใพใงไป–ใฎไฝ•ใ‹ใ‚’ๅฎŸ่กŒ๐Ÿ”€ใ™ใ‚‹) ใ‚’่ช่ญ˜ใ—ใชใ‘ใ‚Œใฐใชใ‚‰ใชใ„ใจไผใˆใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  6. docs/es/docs/deployment/docker.md

    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Ahora, en el mismo directorio del proyecto, crea un archivo `Dockerfile` con:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:15:52 UTC 2025
    - 31K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    private static final long serialVersionUID = 1L;
    
                    @Override
                    public Integer getSuggestSystemMonitorIntervalAsInteger() {
                        return 60;
                    }
                };
                ComponentUtil.setFessConfig(mockConfig);
    
            } catch (Exception e) {
                // Ignore setup errors in test environment
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat returns 0")
        void testReadBytesWireFormat() {
            request = new Smb2SetInfoRequest(mockConfig);
            byte[] buffer = new byte[256];
    
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // This method should always return 0 as the request doesn't read responses
            assertEquals(0, bytesRead);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
        assertEquals(Double.doubleToRawLongBits(x), Double.doubleToRawLongBits(y));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            NodeStatusRequest spyRequest = spy(nodeStatusRequest);
            doAnswer(invocation -> {
                // Verify hexCode is 0 during the call
                assertEquals(0x00, mockName.hexCode);
                return 40;
            }).when(spyRequest).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            // Act
            spyRequest.writeBodyWireFormat(dst, 0);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top