Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3361 - 3370 of 5,353 for Return (0.04 sec)

  1. src/main/java/jcifs/context/SingletonContext.java

         *
         * The singleton context will use system properties for configuration as well as values specified in a file
         * specified through this <code>jcifs.properties</code> system property.
         *
         * @return a global context, initialized on first call
         */
        public static synchronized final SingletonContext getInstance() {
            if (INSTANCE == null) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    ## Recapitulando
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            DataStoreFactory testFactory = new DataStoreFactory() {
                @Override
                protected List<String> loadDataStoreNameList() {
                    // Return unsorted list to test sorting
                    return List.of("Zebra", "Apple", "Banana").stream().sorted().collect(java.util.stream.Collectors.toList());
                }
            };
    
            List<String> names = testFactory.loadDataStoreNameList();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

              protected void run() throws Exception {}
    
              @Override
              protected ScheduledExecutorService executor() {
                return TestingExecutors.noOpScheduledExecutor();
              }
    
              @Override
              protected String serviceName() {
                return "Foo";
              }
            };
        TimeoutException e =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                return paramWordsWritten;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20;
                return bytesWritten;
            }
    
            @Override
            protected int readParameterWordsWireFormat(byte[] src, int srcIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @Test
            @DisplayName("Should always return 0 for writeBytesWireFormat")
            void testWriteBytesWireFormat() {
                byte[] buffer = new byte[1024];
                int result = response.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer position")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/DfsResolver.java

         * @return whether the given domain is trusted
         * @throws CIFSException if the operation fails
         */
        boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Get a connection to the domain controller for a given domain
         *
         * @param tf the CIFS context
         * @param domain the domain name
         * @return connection to the domain controller
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

              e.printStackTrace();
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
              if (x * i == n) return factor(x) + " × " + i;
            }
            return Integer.toString(n);
          }
        };
    
        thread.start();
      }
    
      /**
       * This request body makes it possible for another thread to stream data to the uploading request.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    		switch name {
    		case "Trim":
    			return Trim, nil
    		case "TrimLeft":
    			return TrimLeft, nil
    		case "TrimRight":
    			return TrimRight, nil
    		case "TrimPrefix":
    			return nil, TrimPrefix
    		case "TrimSuffix":
    			return nil, TrimSuffix
    		default:
    			t.Errorf("Undefined trim function %s", name)
    			return nil, nil
    		}
    	}
    
    	for _, tc := range trimTests {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java

      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 4;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top