Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5191 - 5200 of 7,804 for RETURN (0.04 seconds)

  1. tensorflow/c/eager/c_api_experimental_reader_test.cc

    TFE_MonitoringCounter0* CreateCounter0(const char* counter_name) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0(counter_name, status, "description");
      TF_DeleteStatus(status);
      return counter;
    }
    
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta) {
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
      TFE_MonitoringCounterCellIncrementBy(cell, delta);
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            OptionalThing<TimeZone> result = provider.findBusinessTimeZone(null, null);
    
            // Should still return empty optional
            assertNotNull(result);
            assertFalse(result.isPresent());
        }
    
        // Helper method to create mock RequestManager
        private RequestManager createMockRequestManager() {
            return new SimpleRequestManager() {
                // No additional overrides needed for testing
            };
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to access field " + fieldName, e);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                    throw new ArtifactResolutionException(results);
                }
            }
    
            return results;
        }
    
        @Override
        public ArtifactResult resolveArtifact(RepositorySystemSession session, ArtifactRequest request)
                throws ArtifactResolutionException {
            return resolveArtifacts(session, Collections.singleton(request)).get(0);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java

            }
        }
    
        @Benchmark
        public Set<String> availableIndexFolderNaive() throws IOException {
            return nodeEnv.availableIndexFoldersForPath(nodePath);
        }
    
        @Benchmark
        public Set<String> availableIndexFolderOptimized() throws IOException {
            return nodeEnv.availableIndexFoldersForPath(nodePath, excludedDirs::contains);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 27 15:29:12 GMT 2021
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            byte[] buffer = createValidBuffer(filename, "TESTFI~1.TXT", true);
    
            // Decode and check return value
            int bytesConsumed = fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify bytes consumed matches the actual data size
            assertTrue(bytesConsumed < 0); // Return value is negative (start - bufferIndex)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. docs/ru/docs/index.md

        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @Nullable Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
        }
      }
    
      @Override
      public final String toString() {
        Runnable state = get();
        String result;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. tests/test_arbitrary_types.py

            custom_field: FakeNumpyArrayPydantic
    
        app = FastAPI()
    
        @app.get("/")
        def test() -> MyModel:
            return MyModel(custom_field=FakeNumpyArray())
    
        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.json() == {"custom_field": [1.0, 2.0, 3.0]}
    
    
    def test_typeadapter():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

         * @param timestamp The last modified timestamp of the file.
         * @return A new {@link SynonymFile} associated with the dictionary manager.
         */
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new SynonymFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top