Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 2,143 for ELSE (0.06 sec)

  1. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

            final StringBuilder buf = new StringBuilder(20);
            for (int i = 0; i < s.length(); ++i) {
                char c = s.charAt(i);
                if (c == groupingSep) {
                    continue;
                } else if (c == decimalSep) {
                    c = '.';
                }
                buf.append(c);
            }
            return buf.toString();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                    } catch (FileNotFoundException | URISyntaxException e) {
                        throw new IllegalStateException("Missing test POM for " + artifact, e);
                    }
                } else {
                    result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null));
                    throw new ArtifactResolutionException(results);
                }
            }
    
            return results;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

        public void store(final String dictId, final KuromojiItem kuromojiItem) {
            getKuromojiFile(dictId).ifPresent(file -> {
                if (kuromojiItem.getId() == 0) {
                    file.insert(kuromojiItem);
                } else {
                    file.update(kuromojiItem);
                }
            });
        }
    
        public void delete(final String dictId, final KuromojiItem kuromojiItem) {
            getKuromojiFile(dictId).ifPresent(file -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

        val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType()
        if (isAndroid) {
          // Charset.forName("'utf-8'") == UTF-8
          assertEquals("UTF-8", mediaType.charsetName())
        } else {
          assertNull(mediaType.charset())
        }
      }
    
      @Test fun testDefaultCharset() {
        val noCharset = parse("text/plain")
        assertEquals(
          "UTF-8",
          noCharset.charset(Charsets.UTF_8)!!.name(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/setup.python.sh

    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    # Install Python packages for this container's version
    if [[ ${VERSION} == "python3.13" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    EOF
    else
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    $VERSION-distutils
    EOF
    fi
    
    /setup.packages.sh pythons.txt
    
    # Re-link pyconfig.h from x86_64-linux-gnu into the devtoolset directory
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 23:34:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. .github/workflows/arm-cd.yml

            shell: bash
            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
          - name: Clean repository
            shell: bash
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. istioctl/cmd/root_test.go

    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    			t.Errorf("%q flag was found in help text but not expected", flag)
    		}
    	}
    }
    
    func TestHideInheritedFlags(t *testing.T) {
    	const (
    		parentFlag0 = "parent-flag0"
    		parentFlag1 = "parent-flag1"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 15 17:59:55 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    				Name:    dnsRecords[0].Key,
    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    
    		sort.Slice(bucketsInfo, func(i, j int) bool {
    			return bucketsInfo[i].Name < bucketsInfo[j].Name
    		})
    
    	} else {
    		// Invoke the list buckets.
    		var err error
    		bucketsInfo, err = listBuckets(ctx, BucketOptions{})
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  9. tests/preload_test.go

    			}
    		}
    	}
    
    	if len(users2[2].Pets) != 3 {
    		t.Errorf("Invalid pet toys found for user 3 got %v", len(users2[2].Pets))
    	} else {
    		sort.Slice(users2[2].Pets, func(i, j int) bool {
    			return users2[2].Pets[i].ID < users2[2].Pets[j].ID
    		})
    
    		for _, pet := range users2[2].Pets[0:2] {
    			if pet.Toy.Name != "" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java

            // hide constructor
        }
    
        /**
         * This method is deprecated, nobody should use it.
         *
         * @deprecated This method is here only for legacy uses (like UTs), nothing else should use it.
         */
        @Deprecated
        public static DefaultRepositorySystemSession newSession() {
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top