Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,539 for result1 (0.05 sec)

  1. internal/lock/lock_test.go

    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    		t.Fatal(err)
    	}
    
    	_, err = newRLockedFile(nil)
    	if err != os.ErrInvalid {
    		t.Fatal("Unexpected error", err)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_test.c

      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final ObjectMapper objectMapper = new YAMLMapper();
            try {
                @SuppressWarnings("unchecked")
                final List<Map<?, ?>> result = objectMapper.readValue(content, List.class);
                if (result != null) {
                    return result.stream().map(o -> new Artifact((String) o.get("name"), (String) o.get("version"), (String) o.get("url")))
                            .collect(Collectors.toList());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                    upperVersion = new DefaultArtifactVersion(upperBound);
                }
    
                if (upperVersion != null && lowerVersion != null) {
                    int result = upperVersion.compareTo(lowerVersion);
                    if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) {
                        throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/ElevateWord.java

    import org.codelibs.fess.es.config.exbhv.LabelTypeBhv;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.ListResultBean;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class ElevateWord extends BsElevateWord {
    
        private static final long serialVersionUID = 1L;
    
        private String[] labelTypeIds;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          }
          add(buildCloudflare(client))
          add(buildCloudflareIp(client))
          if (!getOnly) {
            add(buildCloudflarePost(client))
          }
          if (!workingOnly) {
            // result += buildCleanBrowsing(client); // timeouts
            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
      }
    
      private fun getByIp(host: String): InetAddress {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/imagepolicy/v1alpha1/generated.proto

      // +optional
      map<string, string> annotations = 2;
    
      // Namespace is the namespace the pod is being created in.
      // +optional
      optional string namespace = 3;
    }
    
    // ImageReviewStatus is the result of the review for the pod creation request.
    message ImageReviewStatus {
      // Allowed indicates that all images were allowed to be run.
      optional bool allowed = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/operand_test.go

    		parser.start(lex.Tokenize(test.input))
    		addr := obj.Addr{}
    		parser.operand(&addr)
    		var result string
    		if parser.allowABI {
    			result = obj.DconvWithABIDetail(&emptyProg, &addr)
    		} else {
    			result = obj.Dconv(&emptyProg, &addr)
    		}
    		if result != test.output {
    			t.Errorf("fail at %s: got %s; expected %s\n", test.input, result, test.output)
    		}
    	}
    }
    
    func TestAMD64OperandParser(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      @LazyInit @RetainedWith @CheckForNull private transient BiMap<V, K> inverse;
    
      @Override
      public BiMap<V, K> inverse() {
        BiMap<V, K> result = inverse;
        return (result == null) ? inverse = new Inverse() : result;
      }
    
      private final class Inverse extends IteratorBasedAbstractMap<V, K>
          implements BiMap<V, K>, Serializable {
        BiMap<K, V> forward() {
          return HashBiMap.this;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import okhttp3.Request
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
     * Using a yubikey device as a SSL key store.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top