Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for Crooks (0.23 sec)

  1. tests/hooks_test.go

    	product2 := Product3{Name: "Product", Price: 0}
    	DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
    
    	if product2.Price != 0 {
    		t.Errorf("invalid price after create without hooks, got %+v", product2)
    	}
    }
    
    func TestHooksForSlice(t *testing.T) {
    	DB.Migrator().DropTable(&Product3{})
    	DB.AutoMigrate(&Product3{})
    
    	products := []*Product3{
    		{Name: "Product-1", Price: 100},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

            Splitter.on('-').split("Testing-rocks-Debugging-sucks");
        assertThat(testCharacteringMotto)
            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
      public void testCharacterSplitWithMatcherDelimiter() {
        Iterable<String> testCharacteringMotto =
            Splitter.on(CharMatcher.whitespace()).split("Testing\nrocks\tDebugging sucks");
        assertThat(testCharacteringMotto)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  3. statement.go

    				// looks like a where condition
    				return []clause.Expression{clause.Expr{SQL: s, Vars: args}}
    			}
    
    			if len(args) > 0 && strings.Contains(s, "@") {
    				// looks like a named query
    				return []clause.Expression{clause.NamedExpr{SQL: s, Vars: args}}
    			}
    
    			if strings.Contains(strings.TrimSpace(s), " ") {
    				// looks like a where condition
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SplitterTest.java

            Splitter.on('-').split("Testing-rocks-Debugging-sucks");
        assertThat(testCharacteringMotto)
            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
      public void testCharacterSplitWithMatcherDelimiter() {
        Iterable<String> testCharacteringMotto =
            Splitter.on(CharMatcher.whitespace()).split("Testing\nrocks\tDebugging sucks");
        assertThat(testCharacteringMotto)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. schema/schema.go

    	if field, ok := schema.FieldsByDBName[name]; ok {
    		return field
    	}
    	if field, ok := schema.FieldsByName[name]; ok {
    		return field
    	}
    	return nil
    }
    
    // LookUpFieldByBindName looks for the closest field in the embedded struct.
    //
    //	type Struct struct {
    //		Embedded struct {
    //			ID string // is selected by LookUpFieldByBindName([]string{"Embedded", "ID"}, "ID")
    //		}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

                     * domain-based DFS root shares to links for each
                     */
                    Map<String, CacheEntry<DfsReferralDataInternal>> roots = domains.get(domain);
                    if ( roots != null ) {
                        dr = getLinkReferral(tf, domain, root, path, now, roots);
                    }
    
                    if ( tf.getConfig().isDfsConvertToFQDN() && dr instanceof DfsReferralDataImpl ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Dfs.java

            }
            /* domains that can contain DFS points to maps of roots for each
             */
            HashMap domains = getTrustedDomains(auth);
            if (domains != null) {
                domain = domain.toLowerCase();
                /* domain-based DFS root shares to links for each
                 */
                HashMap roots = (HashMap)domains.get(domain);
                if (roots != null) {
                    SmbTransport trans = null;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  8. istioctl/pkg/injector/injector-list.go

    			if err != nil {
    				return err
    			}
    
    			sort.Slice(hooks, func(i, j int) bool {
    				return hooks[i].Name < hooks[j].Name
    			})
    			return printHooks(cmd.OutOrStdout(), nslist, hooks, injectedImages)
    		},
    	}
    
    	return cmd
    }
    
    func filterSystemNamespaces(nss []corev1.Namespace, istioNamespace string) []corev1.Namespace {
    	filtered := make([]corev1.Namespace, 0)
    	for _, ns := range nss {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        private final List<Thread> hooks = Lists.newArrayList();
    
        @Override
        synchronized void addShutdownHook(Thread hook) {
          hooks.add(hook);
        }
    
        synchronized void shutdown() throws InterruptedException {
          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
          }
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        private final List<Thread> hooks = Lists.newArrayList();
    
        @Override
        synchronized void addShutdownHook(Thread hook) {
          hooks.add(hook);
        }
    
        synchronized void shutdown() throws InterruptedException {
          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
          }
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
Back to top