Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,638 for CLEAR (0.96 sec)

  1. tests/joins_table_test.go

    	}
    
    	DB.Model(&person).Association("Addresses").Clear()
    
    	if DB.Model(&person).Association("Addresses").Count() != 0 {
    		t.Fatalf("Should deleted all addresses")
    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    		t.Fatalf("Should found soft deleted addresses with unscoped")
    	}
    
    	DB.Unscoped().Model(&person).Association("Addresses").Clear()
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/ByteInput.java

        }
    
        /**
         * Starts reading from the given offset.
         */
        public DataInputStream start(long offset) throws IOException {
            file.seek(offset);
            bufferedInputStream.clear();
            countingInputStream = new CountingInputStream(bufferedInputStream);
            return new DataInputStream(countingInputStream);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/testFixtures/groovy/org/gradle/cache/internal/TestCrossBuildInMemoryCacheFactory.groovy

                }
                return v
            }
    
            @Override
            void put(K key, V value) {
                values.put(key, value)
            }
    
            @Override
            void clear() {
                values.clear()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskRemovalIntegrationTest.groovy

            "TaskContainer.remove(Object)"             | "tasks.remove(foo)"
            "TaskContainer.removeAll(Collection)"      | "tasks.removeAll([foo])"
            "TaskContainer.clear()"                    | "tasks.clear()"
            "TaskContainer.retainAll(Collection)"      | "tasks.retainAll([foo])"
            "TaskContainer.iterator()#remove()"        | "def it = tasks.iterator(); it.next(); it.remove()"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/plugin/management/internal/autoapply/AutoAppliedPluginHandler.java

    import org.gradle.plugin.management.internal.PluginRequests;
    
    /**
     * <p>
     * Certain plugins are important enough that Gradle should auto-apply them when it is clear
     * that the user is trying to use it. For instance, when the user uses the <code>--scan</code> option, it
     * is clear they expect the build scan plugin to be applied.
     * </p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 04 09:09:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingCollection.java

      }
    
      /**
       * A sensible definition of {@link #clear} in terms of {@link #iterator}, using the iterator's
       * {@code remove} method. If you override {@link #iterator}, you may wish to override {@link
       * #clear} to forward to this implementation.
       *
       * @since 7.0
       */
      protected void standardClear() {
        Iterators.clear(iterator());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingCollection.java

      }
    
      /**
       * A sensible definition of {@link #clear} in terms of {@link #iterator}, using the iterator's
       * {@code remove} method. If you override {@link #iterator}, you may wish to override {@link
       * #clear} to forward to this implementation.
       *
       * @since 7.0
       */
      protected void standardClear() {
        Iterators.clear(iterator());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchies.java

            destroyableHierarchy = new ExecutionNodeAccessHierarchy(caseSensitivity, stat);
        }
    
        @Override
        public void discardAll() {
            outputHierarchy.clear();
            destroyableHierarchy.clear();
        }
    
        /**
         * Create the input node access hierarchy.
         *
         * For performance reasons, we keep one input node access hierarchy per project,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

                    return currentReadChunk.readBuffer();
                }
                return null;
            }
        }
    
        public void clear() {
            chunks.clear();
            currentReadChunk = null;
            totalBytesUnreadInList = 0;
            currentWriteChunk.clear();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy

        def "can re-add an ordinary value after clear"() {
            when:
            source.add("a")
            source.add("b")
            source.clear()
    
            then:
            source.iterator().collect() == []
    
            when:
            source.add("a")
            source.add("b")
    
            then:
            source.iterator().collect() == ["a", "b"]
    
            when:
            source.clear()
            source.add("b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 06:43:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top