Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 635 for clonan (0.06 seconds)

  1. android/guava/src/com/google/common/base/internal/Finalizer.java

            return false;
          }
        }
      }
    
      /**
       * Cleans up the given reference. Catches and logs all throwables.
       *
       * @return true if the caller should continue to clean up references from the queue, false if the
       *     associated FinalizableReferenceQueue is no longer referenced.
       */
      private boolean finalizeReference(Reference<?> reference, Method finalizeReferentMethod) {
        /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

          if (!set.isPartialView()) {
            return set;
          }
        } else if (elements instanceof EnumSet) {
          EnumSet<?> clone = ((EnumSet<?>) elements).clone();
          ImmutableSet<?> untypedResult = ImmutableEnumSet.asImmutable(clone);
          /*
           * The result has the same type argument we started with. We just couldn't express EnumSet<E>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  3. internal/event/rulesmap_test.go

    	}{
    		{rulesMapCase1, rulesMapToAddCase1},
    		{rulesMapCase2, rulesMapToAddCase2},
    		{rulesMapCase3, rulesMapToAddCase3},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.rulesMap.Clone()
    
    		if !reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rulesMap, result)
    		}
    
    		result.Add(testCase.rulesMapToAdd)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 05 18:43:06 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        mod.sqlite_url = "sqlite://"
        mod.engine = create_engine(
            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
        # Clean up connection explicitly to avoid resource warning
        mod.engine.dispose()
    
    
    def test_crud_app(client: TestClient):
        # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            // Session keep tracks of the Project per project id,
            // so we cannot use session.getProject(p) for forked projects
            // which are temporary clones
            return Optional.ofNullable(getMavenProject(project).getExecutionProject())
                    .map(p -> new DefaultProject(session, p));
        }
    
        private MavenProject getMavenProject(Project project) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            // Initialize suggest settings
            initializeSuggestSettings();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void setUp() throws Exception {
            converter = new AnalyzerConverter(client, settings);
        }
    
        private static void createTestIndex() throws Exception {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl l = locator("smb://server/share/path");
            l.updateType(SmbConstants.TYPE_SERVER);
            assertEquals(SmbConstants.TYPE_SERVER, l.getType());
        }
    
        @Test
        @DisplayName("clone copies state including addresses")
        void testCloneCopiesState() throws Exception {
            UniAddress a1 = mock(UniAddress.class);
            when(nsc.getAllByName("server", false)).thenReturn(new Address[] { a1 });
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  8. cmd/admin-handlers-config-kv.go

    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	cfg := globalServerConfig.Clone()
    	vars := mux.Vars(r)
    	key := vars["key"]
    
    	var subSys, target string
    	{
    		ws := strings.SplitN(key, madmin.SubSystemSeparator, 2)
    		subSys = ws[0]
    		if len(ws) == 2 {
    			if ws[1] == "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.8K bytes
    - Click Count (1)
  9. cmd/signature-v4-utils_test.go

    	inputHeader.Set("X-Amz-Meta-Clone", "fail")
    	// calling the function being tested.
    	errCode = checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    
    	// Delete extra metadata from header to don't affect other test
    	inputHeader.Del("X-Amz-Meta-Clone")
    	// calling the function being tested.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          this.serverSocket = new ServerSocket(0);
          this.cleanable = cleaner.register(this, closeServerSocketRunnable(serverSocket, cleanerRan));
        }
    
        @Override
        public void close() {
          cleanable.clean();
        }
      }
    
      @SuppressWarnings("Java8ApiChecker")
      private ServerSocket makeMyServerExampleWithCleaner(AtomicBoolean cleanerRan) throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top