Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 977 for found (0.02 seconds)

  1. tests/association_generics_test.go

    	petNames := make(map[string]bool)
    	for _, pet := range updatedUser.Pets {
    		petNames[pet.Name] = true
    	}
    
    	if !petNames["original-pet"] {
    		t.Error("original pet not found")
    	}
    
    	if !petNames["new-pet"] {
    		t.Error("new pet not found")
    	}
    }
    
    // Test Set + Create with multiple associations using real database
    func TestClauseAssociationSetCreateWithMultipleAssociations(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  2. fastapi/routing.py

            response: Union[Response, None] = None
            file_stack = request.scope.get("fastapi_middleware_astack")
            assert isinstance(file_stack, AsyncExitStack), (
                "fastapi_middleware_astack not found in request scope"
            )
    
            # Extract endpoint context for error messages
            endpoint_ctx = (
                _extract_endpoint_context(dependant.call)
                if dependant.call
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  3. src/archive/tar/writer.go

    			tw.hdr.Typeflag = TypeReg
    		}
    	}
    
    	// Round ModTime and ignore AccessTime and ChangeTime unless
    	// the format is explicitly chosen.
    	// This ensures nominal usage of WriteHeader (without specifying the format)
    	// does not always result in the PAX format being chosen, which
    	// causes a 1KiB increase to every header.
    	if tw.hdr.Format == FormatUnknown {
    		tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second)
    		tw.hdr.AccessTime = time.Time{}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                }
    
                if (!systemFile.exists()) {
                    throw new ArtifactNotFoundException(
                            "System artifact: " + artifact + " not found in path: " + systemFile, artifact);
                }
    
                if (!systemFile.isFile()) {
                    throw new ArtifactNotFoundException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Returns the first child node with the specified name.
         *
         * @param name the name of the child node to find
         * @return the first matching child node, or {@code null} if none found
         */
        @Nullable
        XmlNode child(String name);
    
        /**
         * Returns the input location information for this node, if available.
         * This can be useful for error reporting and debugging.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * containing the {@code .mvn} directory or flagged with {@code root="true"}.
         *
         * @return the root directory of the project
         * @throws IllegalStateException if the root directory could not be found
         * @see Session#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        /**
         * Returns project parent project, if any.
         * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                if (pomGAV != null && pomGAV.equals(parentGAV)) {
                    return true;
                }
            }
    
            // Parent not found in reactor, must be external
            return false;
        }
    
        /**
         * Determines if parent artifactId can be inferred from relativePath.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			expHdr, ok := w.Header()[xhttp.AmzExpiration]
    			switch {
    			case ok && tc.want == 0:
    				t.Fatalf("Expected no rule to match but found x-amz-expiration header set: %v", expHdr)
    			case !ok && tc.want > 0:
    				t.Fatal("Expected x-amz-expiration header to be set but not found")
    			}
    		})
    	}
    }
    
    func TestFilterRules(t *testing.T) {
    	rules := []Rule{
    		{
    			ID:     "rule-1",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Ascii.java

       * return {@code false}.
       */
      public static boolean isLowerCase(char c) {
        // Note: This was benchmarked against the alternate expression "(char)(c - 'a') < 26" (Nov '13)
        // and found to perform at least as well, or better.
        return (c >= 'a') && (c <= 'z');
      }
    
      /**
       * Indicates whether {@code c} is one of the twenty-six uppercase ASCII alphabetic characters
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        list.set(0, 4.0);
        assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0});
        newArray[1] = 5.0;
        assertThat((double) list.get(1)).isEqualTo(1.0);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        double[] array = {0.0, 1.0, 2.0, 3.0};
        List<Double> list = Doubles.asList(array);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 30.9K bytes
    - Click Count (0)
Back to Top