Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 602 for valide (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        class GetterMethodsTests {
    
            @Test
            @DisplayName("getCloseFlags should return initial value of 0")
            void testGetCloseFlags() {
                assertEquals(0, response.getCloseFlags());
            }
    
            @Test
            @DisplayName("getCreationTime should return initial value of 0")
            void testGetCreationTime() {
                assertEquals(0, response.getCreationTime());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
                // not a valid code point; let the JDK handle invalid Unicode
                return hashBytes(input.toString().getBytes(charset));
              }
              i++;
              buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/PathValidator.java

                }
            }
        }
    
        /**
         * Validate host name
         */
        private boolean isValidHost(String host) {
            if (host == null || host.isEmpty()) {
                return false;
            }
    
            // Check for valid hostname or IP address
            // Simple validation - can be enhanced
            if (host.length() > 255) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            recordNameField.setAccessible(true);
            Name mockRecordName = new Name(mockConfig);
            recordNameField.set(nameQueryResponse, mockRecordName);
    
            // Prepare a byte array with valid NetBIOS name format
            byte[] src = new byte[100];
            int srcIndex = 0;
    
            // Start with compressed name pointer (0xC0) to use questionName
            src[srcIndex] = (byte) 0xC0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/path-params.md

    #### Obtenha o valor da enumeração { #get-the-enumeration-value }
    
    Você pode obter o valor real (um `str` neste caso) usando `model_name.value`, ou, em geral, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}
    
    /// tip | Dica
    Você também pode acessar o valor `"lenet"` com `ModelName.lenet.value`.
    ///
    
    #### Retorne membros de enumeração { #return-enumeration-members }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    #### 获取枚举值 { #get-the-enumeration-value }
    
    使用 `model_name.value` 或通用的 `your_enum_member.value` 获取实际的值(本例中为 `str`):
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}
    
    /// tip | 提示
    
    使用 `ModelName.lenet.value` 也能获取值 `"lenet"`。
    
    ///
    
    #### 返回枚举成员 { #return-enumeration-members }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/query-params-str-validations.md

    ---
    
    Pero si te da curiosidad este ejemplo de código específico y sigues entretenido, aquí tienes algunos detalles extra.
    
    #### String con `value.startswith()` { #string-with-value-startswith }
    
    ¿Lo notaste? un string usando `value.startswith()` puede recibir una tupla, y comprobará cada valor en la tupla:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  8. internal/grid/handlers.go

    		return r == &o
    	}
    	return false
    }
    
    // IsRemoteErr returns the value if the error is a RemoteErr.
    func IsRemoteErr(err error) *RemoteErr {
    	var r RemoteErr
    	if errors.As(err, &r) {
    		return &r
    	}
    	return nil
    }
    
    type (
    	// SingleHandlerFn is handlers for one to one requests.
    	// A non-nil error value will be returned as RemoteErr(msg) to client.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext.setQueryBuilder(queryBuilder);
            assertEquals(queryBuilder, queryContext.getQueryBuilder());
        }
    
        // Test addFunctionScore
        @Test
        public void test_addFunctionScore() {
            queryContext = new QueryContext("test", false);
            QueryBuilder initialQuery = QueryBuilders.termQuery("field", "value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(UnsignedBytes.checkedCast(toUnsignedInt(value))).isEqualTo(value);
        }
        assertCastFails(256L);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top