Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1871 - 1880 of 3,032 for strike (0.04 seconds)

  1. callbacks/create_test.go

    	"gorm.io/gorm/schema"
    )
    
    var schemaCache = &sync.Map{}
    
    func TestConvertToCreateValues_DestType_Slice(t *testing.T) {
    	type user struct {
    		ID    int `gorm:"primaryKey"`
    		Name  string
    		Email string `gorm:"default:(-)"`
    		Age   int    `gorm:"default:(-)"`
    	}
    
    	s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{})
    	if err != nil {
    		t.Errorf("parse schema error: %v, is not expected", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. internal/config/lambda/config.go

    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    	cfg.Webhook[defaultTarget] = target.WebhookArgs{}
    	return cfg
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  3. internal/mountinfo/mountinfo_others.go

    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(file string) bool {
    	return false
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         * @return JSON response with {@code jobLogId} (nullable) and status
         */
        // PUT /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> put$start(final String id) {
            final String[] jobLogId = { null };
            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
                if (!entity.isEnabled() || entity.isRunning()) {
                    throwValidationErrorApi(messages -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        @CsvSource({ "a=1&b=2,a,1", "A=1&a=2,a,1", // first match before next param
                "x=foo&Server=name,server,name", "paramOnly=,paramOnly,''", "noeq&other=1,other,1" })
        void testQueryLookup(String query, String key, String expected) {
            // No context mocks needed for static method test
            assertEquals(expected, SmbResourceLocatorImpl.queryLookup(query, key));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

        }
    
        /**
         * Gets a path mapping by ID.
         *
         * @param id the path mapping ID
         * @return the path mapping
         */
        public OptionalEntity<PathMapping> getPathMapping(final String id) {
            return pathMappingBhv.selectByPK(id);
        }
    
        /**
         * Stores a path mapping.
         *
         * @param pathMapping the path mapping to store
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
            if (bn instanceof Integer integer) {
                this.buildNumber = integer;
            } else if (bn instanceof String string) {
                this.buildNumber = Integer.valueOf(string);
            } else {
                this.buildNumber = null;
            }
    
            snapshots = new LinkedHashMap<>();
    
            /*
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        @Override
        protected void doAction() {
          latch.countDown();
        }
      }
    
      private static class EnableWrites extends DelayedActionRunnable {
        private final BlockingQueue<String> queue;
    
        EnableWrites(BlockingQueue<String> queue, long tMinus) {
          super(tMinus);
          assertFalse(queue.isEmpty());
          assertFalse(queue.offer("shouldBeRejected"));
          this.queue = queue;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

             */
            public EngineObj() {
                // Default constructor
            }
    
            /** Exception message if any error occurred */
            public String exception;
            /** Cluster health status */
            public String status;
            /** Number of in-flight fetch operations */
            public int numberOfInFlightFetch;
            /** Number of pending tasks */
            public int numberOfPendingTasks;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

        private static Object getField(Object target, String name) {
            try {
                Field f = findField(target.getClass(), name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        // Helper: find field in class hierarchy
        private static Field findField(Class<?> clazz, String name) throws NoSuchFieldException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top