Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for doNothing (0.2 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testRunWithTimeout_returnsWithoutException() throws Exception {
        timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, MILLISECONDS);
      }
    
      public void testRunWithTimeout_wrapsUncheckedException() throws Exception {
        RuntimeException exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. callbacks/associations.go

    					for i := 0; i < elemLen; i++ {
    						appendToJoins(objs[i], elems.Index(i))
    					}
    				}
    
    				if joins.Len() > 0 {
    					db.AddError(db.Session(&gorm.Session{NewDB: true}).Clauses(clause.OnConflict{DoNothing: true}).Session(&gorm.Session{
    						SkipHooks:                db.Statement.SkipHooks,
    						DisableNestedTransaction: true,
    					}).Create(joins.Interface()).Error)
    				}
    			}
    		}
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Feb 13 06:16:26 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. callbacks/create.go

    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    				onConflict, _ := c.Expression.(clause.OnConflict)
    				if onConflict.DoNothing {
    					mode |= gorm.ScanOnConflictDoNothing
    				} else if len(onConflict.DoUpdates) > 0 || onConflict.UpdateAll {
    					mode |= gorm.ScanUpdate
    				}
    			}
    
    			rows, err := db.Statement.ConnPool.QueryContext(
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. tests/generics_test.go

    	lang := Language{Code: "upsert", Name: "Upsert"}
    
    	if err := gorm.G[Language](DB, clause.OnConflict{DoNothing: true}).Create(ctx, &lang); err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	lang2 := Language{Code: "upsert", Name: "Upsert"}
    	if err := gorm.G[Language](DB, clause.OnConflict{DoNothing: true}).Create(ctx, &lang2); err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/DownloadGitRepoToEc2Agent.kt

        applyDefaultSettings(artifactRuleOverride = "")
    
        params {
            param("defaultBranchName", "master")
        }
    
        steps {
            script {
                name = "DO_NOTHING"
                executionMode = BuildStep.ExecutionMode.ALWAYS
                scriptContent = "echo 'Repo downloaded'"
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 12 06:13:12 GMT 2025
    - 758 bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

      private static final Runnable DO_NOTHING =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      public void testSchedule() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        Future<?> unused1 = testExecutor.schedule(DO_NOTHING, 10, MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    poor animal's feelings.  `I quite forgot you didn't like cats.'
    
      `Not like cats!' cried the Mouse, in a shrill, passionate
    voice.  `Would YOU like cats if you were me?'
    
      `Well, perhaps not,' said Alice in a soothing tone:  `don't be
    angry about it.  And yet I wish I could show you our cat Dinah:
    I think you'd take a fancy to cats if you could only see her.
    She is such a dear quiet thing,' Alice went on, half to herself,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
Back to Top