Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4181 - 4190 of 5,421 for return (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

         *
         * @return The identifier of the model from which the problem originated or an empty string if unknown, never
         *         {@code null}.
         */
        @Nonnull
        String getModelId();
    
        /**
         * Gets the applicable maven version/validation level of this problem
         * @return The version, never {@code null}.
         */
        @Nonnull
        Version getVersion();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. tests/error_translator_test.go

    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "gaussdb": true, "mysql": true, "sqlserver": true}
    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    	if err = db.AutoMigrate(&City{}); err != nil {
    		t.Fatalf("failed to migrate cities table, got error: %v", err)
    	}
    
    	err = db.Create(&City{Name: "Kabul"}).Error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should return correct cipher ID")
        void testGetCipherId() {
            // When
            int cipherId = encryptionContext.getCipherId();
    
            // Then
            assertEquals(1, cipherId, "Should return the cipher ID set in constructor");
        }
    
        @Test
        @DisplayName("Should return correct dialect version")
        void testGetDialect() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/lang/no.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String =
        logs.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for log message.")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

      }
    
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return future.get(0, SECONDS);
        } catch (InterruptedException e) {
          throw new AssertionError();
        } catch (TimeoutException e) {
          throw new AssertionError();
        }
      }
    
      private TestPlatform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange
                // Mock that it exists and is a directory
                doReturn(true).when(smbFile).exists();
                doReturn(true).when(smbFile).isDirectory();
    
                // Mock listFiles to return empty array (directory is empty)
                doReturn(new SmbFile[0]).when(smbFile).listFiles();
    
                when(mockTreeHandle.isSMB2()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

                return new String[] { "title", "content" };
            }
    
            @Override
            public String[] getSupportedLanguagesAsArray() {
                return new String[] { "ja", "en", "zh", "ko" };
            }
    
            @Override
            public Integer getIndexerLanguageDetectLengthAsInteger() {
                return 1000;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Serialization.java

       * ObjectOutputStream)}.
       */
      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

                // When
                byte[] result = Strings.getBytes(null, StandardCharsets.UTF_8);
    
                // Then
                assertNotNull(result, "Should return non-null array");
                assertEquals(0, result.length, "Should return empty array for null string");
            }
    
            @Test
            @DisplayName("getBytes should encode string with specified charset")
            void testGetBytesWithCharset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top