Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3071 - 3080 of 6,241 for if (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        rangeSet.add(a);
        rangeSet.add(b);
        if (a.isEmpty() && b.isEmpty()) {
          assertThat(rangeSet.asRanges()).isEmpty();
        } else if (a.isEmpty()) {
          assertThat(rangeSet.asRanges()).contains(b);
        } else if (b.isEmpty()) {
          assertThat(rangeSet.asRanges()).contains(a);
        } else if (a.isConnected(b)) {
          assertThat(rangeSet.asRanges()).containsExactly(a.span(b));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    object ConsoleCallbackHandler : CallbackHandler {
      override fun handle(callbacks: Array<Callback>) {
        for (callback in callbacks) {
          if (callback is PasswordCallback) {
            val console = System.console()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
     * from the {@code pathScope} and the injected field type. If the type
     * is {@link org.apache.maven.api.Node Node} and {@code pathScope == ""},
     * then the dependencies will be <i>collected</i>.
     * If the type is {@link org.apache.maven.api.Node Node} or
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. .github/workflows/build-docs.yml

            run: uv pip install -r requirements-docs.txt
          # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps
          - name: Install Material for MkDocs Insiders
            if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' )
            run: uv pip install -r requirements-docs-insiders.txt
            env:
              TOKEN: ${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server_test.go

    			},
    		},
    	}
    }
    
    type fakeServer struct {
    	mock.Mock
    	testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer
    }
    
    func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ctx, pod, podIPs, netNs)
    	return args.Error(0)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. internal/logger/target/testlogger/testlogger.go

    				fmt.Fprintf(os.Stdout, format+"\n", args...)
    			}
    		}
    	}
    
    	switch v := entry.(type) {
    	case log.Entry:
    		if v.Trace == nil {
    			logf("%s: %s", v.Level, v.Message)
    		} else {
    			msg := fmt.Sprintf("%s: %+v", v.Level, v.Trace.Message)
    			for i, m := range v.Trace.Source {
    				if i == 0 && strings.Contains(m, "logger.go:") {
    					continue
    				}
    				msg += fmt.Sprintf("\n%s", m)
    			}
    			logf("%s", msg)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            for (Element element : roundEnv.getElementsAnnotatedWith(Named.class)) {
                if (element instanceof TypeElement typeElement) {
                    String className = getFullClassName(typeElement);
                    processedClasses.add(className);
                }
            }
    
            if (roundEnv.processingOver()) {
                try {
                    updateFileIfChanged();
                } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         *
         * @see #getModelIds()
         * @param modelId The identifier of the model whose active profiles should be retrieved, must not be {@code null}.
         * @return The active profiles of the model or an empty list if none or {@code null} if the specified model id does
         *         not refer to a known model.
         */
        List<Profile> getActivePomProfiles(String modelId);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

         *
         * @return String
         */
        public String getEffectiveId() {
            if (executionPoint == null) {
                if (priority == 0) {
                    return id;
                }
                return id + '[' + priority + ']';
            }
            if (priority == 0) {
                return executionPoint + ':' + id;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            if (!milestone.isPresent) {
                error("Milestone not set: please rerun the task with `--milestone <milestone>`")
            }
            val prs: MutableList<GitHubPullRequest> = mutableListOf()
            for (page in 1..10) {
                val prPage = getMergedContributorPullRequests(page)
                prs.addAll(prPage)
                if (prPage.size < PAGE_SIZE) {
                    break
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top