Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1741 - 1750 of 7,017 for string (0.07 seconds)

  1. tests/hooks_test.go

    		}
    	}
    }
    
    type Product4 struct {
    	gorm.Model
    	Name  string
    	Code  string
    	Price int64
    	Owner string
    	Item  ProductItem
    }
    
    type ProductItem struct {
    	gorm.Model
    	Code               string
    	Product4ID         uint
    	AfterFindCallTimes int
    }
    
    func (pi ProductItem) BeforeCreate(*gorm.DB) error {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

        @Test
        public void test_constructor() {
            String[] loggerNames = { "test.logger", "another.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            assertNotNull(policy);
        }
    
        @Test
        public void test_rewrite_with_null_logger_name() {
            String[] loggerNames = { "test.logger" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java

                }
            }
        }
    
        private static void checkSnippet(BiConsumer<Integer, String> log, int max, LineItr lines, String leadingSpaces, String name) {
            Pattern end = Pattern.compile("^ *//\\s*end::" + name + "\\s*$", Pattern.MULTILINE);
            while (lines.hasNext()) {
                String line = lines.next();
                if (end.matcher(line).matches()) {
                    return;
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/headers/InjectHeaders.java

        }
    
        @Override
        @Internal
        public String getKeyToFind() {
            return "do";
        }
    
        @Override
        @Internal
        public String getSkipFeatureName() {
            return "headers";
        }
    
        @Input
        public Map<String, String> getHeaders() {
            return headers;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 07 15:48:06 GMT 2021
    - 3K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        @VisibleForTesting
        data class AcceptedApiChange(
            val type: String?,
            val member: String?,
            val acceptation: String?,
            val changes: List<String>?
        ) {
            override fun toString(): String = "Type: '$type', Member: '$member'"
        }
    
        @VisibleForTesting
        data class AcceptedApiChanges(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 04 14:00:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      private val path = mutableListOf<String>()
    
      /**
       * False unless we made a recursive call to [write] at the current stack frame. The explicit box
       * adapter can clear this to synthesize non-constructed values that are embedded in octet strings.
       */
      var constructed = false
    
      fun write(
        name: String,
        tagClass: Int,
        tag: Long,
        block: (BufferedSink) -> Unit,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

          throw new IllegalStateException("Unexpected default trust managers:"
              + Arrays.toString(trustManagers));
        }
        return (X509TrustManager) trustManagers[0];
      }
    
      private String[] javaNames(List<CipherSuite> cipherSuites) {
        String[] result = new String[cipherSuites.size()];
        for (int i = 0; i < result.length; i++) {
          result[i] = cipherSuites.get(i).javaName();
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

         */
        static ProjectScope projectScope(String id) {
            return new DefaultProjectScope(id);
        }
    
        /**
         * Base implementation of the ExtensibleEnum interface.
         * Provides common functionality for all extensible enum implementations.
         */
        private static class DefaultExtensibleEnum implements ExtensibleEnum {
    
            private final String id;
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. internal/s3select/sql/parser.go

    type LiteralString string
    
    // Capture interface used by participle
    func (ls *LiteralString) Capture(values []string) error {
    	// Remove enclosing single quote
    	n := len(values[0])
    	r := values[0][1 : n-1]
    	// Translate doubled quotes
    	*ls = LiteralString(strings.ReplaceAll(r, "''", "'"))
    	return nil
    }
    
    // LiteralList is a type for parsed SQL lists literals
    type LiteralList []string
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

            (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor(
                param(Params.sourceRoots),
                param(Params.sourceCompilationClasspath)
            )
        }
    
        @Suppress("unchecked_cast")
        private
        fun param(name: String): List<File> =
            (params[name] as? Set<String>)?.map(::File) ?: emptyList()
    }
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
Back to Top